Sunday, 27 March 2022

Reviving My Kindle


Read this 2013 review of the device

I'm trying to renew my relationship with my venerable Kindle Paperwhite 6th Generation that I purchased in China back in 2014 or thereabouts. It still works fine but I've been neglecting it. I tend to watch alternative news videos on the Internet and read short articles but my actual digestion of books has slowed considerably over the past six months. I also spend perhaps too much time watching movies and various television series. 

This is an unhappy situation that I am trying to address. This evening I came across a short video by one of my favourite historians, David Irving, in which he was talking about 1956 Hungarian uprising. In researching for a book about this topic, he become aware via CIA files that he had access to, that in its initial days at least it was an anti-Jewish uprising. The book he wrote is titled "Uprising" and I have a copy of it in my Calibre library. I used my Kindle email address to mail it to myself so it was in the Amazon Cloud and then downloaded it to my Kindle. It is now ready for reading.

I wasn't sure whether David Irving was still alive but he is, now aged 84. I'm interested in the Hungarian Uprising because it was the first time that I was made aware of world events. I was aged seven in 1956 and I remember the nuns at the school I attended being very grim-faced about what was happening. Like most historical events, it has been simplified to the point where I seven-year old could understand it. The brave people of Hungary rose up against their Russian Communist oppressors but were ruthlessly subdued. That's it.

As David Irving explains however, 1945 marked the return of the Jews who had fled Hungary during the war and they were put into positions of power in the newly established Hungarian government, especially in the secret police. This marked the beginning of a period of unprecedented suffering for the Hungarian people. Anyway I'm looking forward to reading his book and I must aim to read at least one book a month. I've been making my way slowly through Robert Kennedy's "The Real Anthony Fauci" on my iPhone but I need to set aside regular sessions for reading to make reasonable progress.

I've now have Robert Kennedy's book on my Kindle so I'll continue reading it from there. The problem with reading on my iPad is that it's now quite old (bought in 2015) and the battery is quite weak. My iPhone is new and the battery is still strong but continuing to read on this device will unnecessarily drain the battery, The strength of the Kindle is that one can read for hours on end without recharging and my Kindle battery remains quite strong even after eight years. 

So this can be considered my birthday resolution: READ MORE BOOKS!

Tuesday, 22 March 2022

Flatpak Installation Now Working

For whatever reason, my installation of flatpak is now working. I followed the terminal steps as outlined on this site, a screenshot of which is shown in Figure 1.

Figure 1

I went to flathub.org and practised installing a free software program called Plots.


Figure 2

It took quite some time for the installation to complete but it eventually did and the program is up and working now.  I described flatpak in my post of Friday, 11 March 2022 titled Installing Calibre and Other Software on Ubuntu

Unfortunately, the webcam is still not working despite trying out numerous suggestions from within and without the Ubuntu help community. It's not a deal breaker as I rarely ever used in my Mac OS anyway. It's still annoying and I'd eventually like to resolve the problem.

Tuesday, 15 March 2022

Mouse, Trackpad and Keyboard Freeze in Ubuntu

Life with Ubuntu is never dull and predictable. Last night I discovered that my mouse, trackpad and keyboard on my Mac laptop had all frozen. This had happened a few days earlier and the problem had been resolved with a reboot. However, as I was tired, I simply shut it down and planned to restart it in the morning.

That proved to be overly optimistic. After the morning reboot, the problem persisted. I tried a couple more times. I removed the USB receiver for my Logitech mouse and tried again. Still no change. I searched online but most help involved using the terminal and I had no keyboard. It was looking like a reinstallation would be necessary but, if that were needed, I would not be installing Ubuntu again but another version of Linux.

However, I decided to reboot while pressing the option key which brings up the boot menu. When I did this the mouse, trackpad and keyboard all worked. There was only the Ubuntu on the hard drive to boot from so I chose this and hoped for the best. With the OS loaded, everything worked and life was back to normal.

It was certainly odd that all input options failed at the same time and I felt that I should investigate further to try to get to the bottom of the problem as it is likely to recur. I remembered that I had been initially frustrated that Command+C for copy and Command+V for paste no longer worked. Instead Control+C and Control+V had to be used instead. 

With this problem in mind I installed an app called Kinto that supposedly remapped the keyboard. However, I never got the program to work properly but the icon continued to display on my list of apps. It was only after installing Stacer that I found that Kinto was loading at Startup. I was then able to delete it and I suspect that this was the source of the problem. See Figure 1.


Figure 1

I came across Stacer in a 2017 post titled The 10 Easiest Ways to Keep Ubuntu System Clean that has quite a few good tips including:
  • $ sudo apt-get autoremove (to remove unnecessary packages and dependencies)
  • $ sudo rm -rf ~/.cache/thumbnails/* (the number of thumbnails can build up over time)
  • $ sudo apt-get clean (remove all cache files)

Friday, 11 March 2022

Installing Calibre and Other Software on Ubuntu


At long last, I've managed to get Calibre working under Ubuntu 20.04 on my 2013 Mac Book Pro. I just followed the recommended procedure using the terminal as outlined on the Calibre website:

sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin

I'm sure I tried this before but perhaps whatever bug was stopping Calibre from working before has now been fixed. Calibre and the Windows-based Astrolog were the two programs that I really wanted to get working under Ubuntu and now I've succeeded.

My VPN is also working and so the laptop is fully functional again from my perspective. There's nothing that I was doing under the Mac OS that I can't now do in Ubuntu. On the general topic of software installation, I watched an interesting YouTube video titled Flatpak Tutorial - Setting up Flatpak and installing Packages:


The author references the FLATPAK website that explains how to install the software on the various Linux distributions and FLATHUB that lists the software available for installation once FLATPAK has been installed. I managed to install it on my granddaughter's HP Pavilion x360 so far attempts to install it on my 2013 Mac Book have failed. I'll keep trying. Nothing of course is ever easy or straightforward with Linux.


There's no urgency as the normal software installation works fine. I've just installed Stellarium and TexStudio and TexMaker without any issues.

Saturday, 5 March 2022

Pinta: a Simple Image Editor for Ubuntu

Nothing is ever easy in Ubuntu. For anybody who just wants to get a job done, such as simply adding text to a screenshot, Ubuntu is not the operating system for you. I quite frequently need to add text to a screenshot and this was a painless process in Mac OS, using Preview. Doing the same thing in Ubuntu becomes an adventure, as I'll now describe.

I'm familiar with GIMP but I didn't want to use a program of that complexity for such a simple task. It didn't take too long to discover that Pinta was the software application that would serve my purpose best and so I went to the Ubuntu Software Centre to download it. See Figure 1.

Figure 1
Using the terminal's sudo apt install pinta was unsuccessful as certain files couldn't be downloaded. The Ubuntu Help Centre however, is always "helpful". I came across the following revelation:
This issue has existed for a long time. Ubuntu's Snap store isn't well-maintained and doesn't perform properly. As a result, in Jammy 22.04, they've chosen to use Gnome software instead. Gnome software is working fine without any issues. You can install gnome-software using: sudo apt install gnome-software.

Of course, I'm running Ubuntu 20.04, the long term stable release version of the OS and so I had to install it from the terminal. Once I'd done that Pinta was displayed within the little suitcase icon and I've added both the Gnome Software Centre and Pinta to my favourites on the sidebar. See Figure 2.


Figure 2
This installation wasn't totally without drama either but eventually I succeeded and have been successfully adding text to my screenshots. I've still to get my webcam working but this isn't a high priority as I don't really use it. I'd really like to get Calibre working however, so this is a more immediate challenge. However, one step at a time.

Previously, when I had Ubuntu installed as a virtual machine within my Mac OS, I could always run back to the latter if I had problems but now I have nowhere to run and so I'm forced to find solutions. So far, the solution to the fan problem referred to in my previous post is holding up so I'm well pleased.

Fan Problems in Ubuntu 20.04

One of the problems that I noted following installation of Ubuntu 20.04 on my 2013 Mac Book Pro was that the fan was running almost continuously, even if the workload was light. This was becoming quite annoying. Apparently other people have been having the same problem. For example, this Ubuntu user wrote to Ask Ubuntu in August of 2020:

I have a Lenovo Ideapad with Ubuntu 20.04 in it. 

Even when my computer is at idle and using less than 5% of processing power and less than 1 GB ram my computers fan makes loud noise and it runs every time .

My idle CPU temperature resides in the range of 40C to 45C which is medium hot. The weird thing is that the fan runs at really at high speed even when RAM being used is less than 1 GB and processing power being used is less than 5% and it is really annoying.

Hope i can get some help with this.

Fortunately, help was forthcoming:

Initially my fans were running a lot too. But installing TLP worked really well for me. Fans rarely spin now and the system stays cool. Just follow: sudo apt install tlp for Ubuntu. For other distributions and OS, follow Official TLP documentation.

The discussion continued:

TLP is to save battery not to correct fan speed which runs continuously on Ubuntu.

ACV on Nov 14, 2021 at 16:55

Actually don't you think it's kind of inter-related? TLP helps in killing/slowing-down those processes which are not being actively used by the system which ultimately decreases the load on the CPU and hence slows the fan down.

CapTen101 on Nov 14, 2021 at 17:31 

It happened every time when my notebook went to idle that the fan started to spin crazy. Even though I closed everything. For some reason TLP fixed the issue for me too. 

Zoltán Süle on Jan 20 at 15:53

That's exactly what I was talking about!

CapTen101 on Jan 21 at 9:44 

Figure 1 shows what the TLP website has this say once TLP has been installed.


Figure 1

Having done all this, I'm happy to report that the fan problem has diminished noticeably. Fingers crossed that this continues.  Even though problems like this are annoying, the good thing about Ubuntu is that there is plenty of online help available so that solutions can generally be found.

Thursday, 3 March 2022

The Experiment Is Over

It was exciting while it lasted but after a few days, the flaws began to outweigh the attractions. I'm taking about the installation of Chrome OS Flex to replace the Mac OS on my 2013 Mac Book Pro. In summary, the defects of the installation included:

  • a frustrating time lag between opening the lid of my laptop and seeing an active screen: I never timed this precisely but it started to get under my skin because I would stare at a blank screen for what seemed like a minute or more and no amount of key presses would make a difference.

  • unresponsiveness of the track pad: having long abandoned a mouse when using my laptop, it was frustrating to have to rely on a mouse again but it was necessary as the pointer would become unresponsive every few seconds. This rendered it virtually unusable. Worse still, once I connected the laptop to an external monitor, even the mouse became "twitchy".

  • total lack of support for Linux: even though I'd apparently installed Linux, there was no way to open to get a functioning terminal window. I was always confronted with an error message and so no installation of Linux apps was possible.

So Chrome OS Flex is gone, replaced by Ubuntu 20.04. I've had long experience with this operating system and there is widespread community support for it. Problems have arisen of course but all of the previously mentioned problems are gone. What remain are a non-functioning webcam and an apparent incompatibility between Calibre and the latest version of Ubuntu. I'll address these in the coming days.

The problem with Flex is that it was just too "beta". I'm sure once this OS evolves, it may well be a viable alternative to Ubuntu but for now that's not the case. As mentioned in an earlier post, I've installed Ubuntu on my granddaughter's HP Pavilion x360 as well. 

While the HP laptop desperately needed a replacement for the sluggish and unresponsive Windows OS, the Mac Book was still operating well enough under Mojave. I hadn't installed Catalina because it didn't support 32-bit applications and I wanted my astrolog.exe to continue running under Wine. I thought a lighter weight operating system like Chrome OS Flex would reinvigorate my ageing Mac which I guess it did if the problems created were ignored.

Right now, with Ubuntu running, the fan on my laptop is whirring even though I only have the Chrome browser open with 13 tabs. Figure 1 shows a screenshot of the system monitor.


Figure 1

I'm thinking that things are not all that different, performance-wise, from when I had the Mac OS installed. Anyway for now I'm happy to have far fewer problems than I had with Flex.

I've now installed WhatsApp and connected that app to my iPhone so that's a positive. There is no way that this could have happened on Flex, in its current state. Similarly my Express VPN is now up and running.