Showing posts with label flatpak. Show all posts
Showing posts with label flatpak. Show all posts

Tuesday, 12 April 2022

Installation of Linux Mint 20.3

You can't say that there's no technological excitement in my life. I finally had to abandon the use of Ubuntu on my 2013 MacBook Pro. The keyboard, trackpad and mouse freezes were becoming too frequent and numerous reboots were required to activate these devices. Finally no amount of rebooting could activate them and so I turned to Linux Mint.

The installation went smoothly enough but the boot up process was, and continues to be, interrupted by a series of error messages. That is a minor irritation but far worse was to come. I discovered that the OS didn't recognise the WiFi adapter in the laptop. So, for the moment, no WiFi but thankfully I have an Ethernet connection. I had an old TP-LINK WiFi dongle that must be at least a decade old and I tried that out but no luck. Perhaps a can buy a more up-to-date dongle that works. This is a matter for deeper investigation but for the moment, as long as the keyboard, mouse and trackpad don't freeze up on me, I'll be happy.

 

My initial attempt to install the Chrome browser failed but then I was reminded that flatpak is built into Linux Mint and, by using that, the installation of the Chrome browser and also Calibre was straight forward. So far, after a couple of days of using Linux Mint, I've had no problems and I hope things stay that way.

I've put out a request for help on the Linux Mint Forums and hopefully help will be forthcoming. So far 20 views but no comments. However, it's been up less than an hour. 


I'll add an addendum if help arrives.

ADDENDUM

... and help did arrive! A user called sleeper12 offered two suggestions. The first was:

inxi -Fxxxrz && rfkill list && iwconfig && mokutil --sb-state 

This had no effect but the second suggestion did the trick:

sudo modprobe -r wl && sudo modprobe wl && sudo systemctl restart network-manager.service 

This is great news and my laptop is now fully functional, apart from the webcam that I assume is still not working. I should ask for help with that on the forums as well.

Wednesday, 6 April 2022

Ubuntu Upgrade

Maybe it was changing from the main server to an Indonesian server that finally enabled me to begin the upgrade from Ubuntu 20.04 to 21.10. Figure 1 shows the early stages of the upgrade process. Let's hope that this upgrade will resolve some of my problems but knowing Ubuntu I'll probably a whole new set of problems. In terms of hardware, my only persistent issue is that the webcam on my 2013 MacBook Pro isn't functioning. Sporadically however, as I've mentioned in previous posts, the mouse, trackpad and keyboard all freeze. Software-wise, there are many issues: few installations proceed smoothly but I would have to single out WINE and Flatpak as being especially troublesome.


Figure 1

After a few hiccups, Ubuntu 21.10 has been installed and so far so good. Flatpak, Stacer, Calibre, Wine and Astrolog have all been successfully installed. I must say that Flatpak, once it's up and running, makes software installation very easy. You need to remember however, to log out and then log back in again in order to see the programs that you've installed. It took me a while to realise that.

I've also managed to install SageMath which I'm quite happy about. Figure 2 shows a screenshot of my first use of it. However, just as I was getting excited, the whole system froze again and I had to reboot. I suspect the problem may arise when I have too many tabs open. The poor old laptop's fan was working hard and I had many tabs open when disaster struck. I need to close down tabs and applications that I'm not using. The freeze may be the result of overheating but I need to investigate further.


Figure 2

I should keep a log of these freezes in an effort to discern any patterns.

Sunday, 3 April 2022

Ubuntu: Crash and Burn

Ubuntu gave me a birthday present. Yes, on my 73rd birthday, Ubuntu offered up a complete meltdown of my laptop's functionality: no mouse, no trackpad, no keyboard. So much for the 20.04 stable release! I couldn't be bothered trouble-shooting and simply reinstalled the operating system. Everything works fine again now, although I have to reinstall Astrolog and Calibre for starters.


It's not the first time this has happened. I made a post titled Mouse, Trackpad and Keyboard Freeze in Ubuntu on 15th March 2022. I'd forgotten that I'd solved the problem back then by holding down the option key while rebooting. At that time, I blamed the problem on keyboard remapping software Kinto that I hadn't properly uninstalled. In hindsight, that may not have been the cause at all. I fully removed what I thought was the offending software with a program called Stacer. 


I've tried to reinstall this Stacer and apparently succeeded but it doesn't launch. I installed it before using Flatpak but doesn't install either. So frustrations get heaped on top of frustrations. I don't have the patience to deal with these problems anymore. I just want an operating system that works and that's what I had by and large with Mac OS. 

This "crash and burn" of Ubuntu is disappointing and reminds that I need to store any important files online for easy retrieval later. My Astrolog charts are gone but I had already set up the Airtable database containing the original data, so the charts can be recreated. Likewise I may have lost a few books from my Calibre library. I'm not sure what their titles were but, if I remember them, they can be added again. The incident has motivated me to get organised.

I thought that I may as well install the latest version of Ubuntu now that I'm up and running again. My reason for sticking with the long term stable release was ... its stability! So I set about downloading the latest release, version 21.04 released in April of 2021. Not so fast.


Of course, there's no network problem but hey, who cares? I considered reinstalling Mac OS just to sidestep all this nonsense and actually set about doing it, following instructions at this site:


I got to the point where installation of Big Sur was about to start but a connection with the Apple server couldn't be established and so the installation was aborted. It's recommended that an Ethernet connection be used for downloading and so I should try this before giving up altogether ... but not tonight. I don't want to spend the remainder of my birthday dealing with technological issues.

Before closing, I must point out that my latest annoyance is the brightness of the screen now varying. This is a minor problem but nonetheless annoying. The operating system may be the cause or it may simply be  the result of old age. My poor old battery registers 46% when fully charged. No matter. Life goes on.

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.

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.