2021-08-05

Ubuntu Linux 20.04 and LXQt Desktop

Ubuntu Linux 20.04 and LXQt Desktop

I updated from Ubuntu Linux 16.04 (.04 is a stable release) to 20.04 recently. 20.04 has been available for over a year. I assumed it would be a good release. I also switched from LXDE desktop to LXQt desktop. LXQt is an updated version of LXDE, using the Qt library instead of the GTK library. I have no idea what these libraries do or why I should prefer one over the other.

The update required updating to 18.04 first, then on to 20.04. This took a couple of hours.

When finished, it worked. Running my 3D printer from Cura, printing to my Ethernet laser printer, running Wine programs (Windows environment), browser, old apps (except when they played music) all worked.

But there were some problems.

The system hangs during shutdown, depending on how you shutdown. This is my original write-up of the problem - I don't know if it is correct. Shutdown and reboot took a long time, I didn't time it, but a few minutes. Finding the problem took a long web search. Finally "sudo apt-get remove --auto-remove iio-sensor-proxy" fixed it. Why? Because it was looking for the light sensor. When it didn't find it, it just kept waiting and retrying, and refused to be interrupted. Why was it looking for a light sensor? Something about notebooks and laptops needing to know if the cover is open. My desktop apparently doesn't have a light sensor.

Next, every time I clicked on a shortcut icon, it told me that it is an executable (it is) and asked me what to do. Another web search - PCManFM-Qt (file manager) has an option that defaults to this behavior. I just needed to tell it to execute executables.

Next, no sound. Another web search - "sudo apt purge timidity-daemon". Timidity is a Midi player/converter. Apparently it keeps a background presence (daemon) which prevents the system from recognizing the sound output devices. Daemon purged, sound works. Well, the sound from the headphone output. The internal sound on my notebook still doesn't work.

The mouse arrow switches between large and small, depending on the current window. Another web search - run lxqt-config - Session Settings - Environment and create a new variable, XCURSOR_SIZE with a specific size.

Chrome keeps giving an annoying message that it is not the default browser. Clicking the button to make it the default does not get the job done. Web search - run lxqt-config - Session Settings - Environment and change the BROWSER variable to chromium. This does not work. Find the shortcut that is used to start Chrome, it was named google-chrome.desktop. Set the BROWSER variable to google-chrome - problem fixed.

An executable preload message was constantly appearing. And shortcuts to apps were taking several seconds to start the app. Web search - set the LD_PRELOAD path. This didn't fix it. When I removed it, both problems were fixed. I have no idea what caused the issue to be fixed.

I updated Wine (Windows environment). But the new version wouldn't start. Web search - a Wine program was already running at version 5, so version 6 wouldn't start. This shouldn't have taken me so long to find.

Wine 6 kept pouring out warnings about font page 20. Like ten at a time. Web search - no fix, but I found out how to suppress the warnings. In .bashrc (the terminal initializer script) - "export WINEDEBUG=fixme-font".

While removing "obsolete" software (a long part of the Ubuntu update), I lost OpenSCAD. Easy to replace. Thankfully, I didn't lose EasyABC (truly obsolete, but it does what I need and has not been replaced) or a down-level version of Cura that works much better than later versions.

One more detail. If the border of a window is off of the screen, you can't grab it to adjust the size. Use alt/left_mouse_button, anywhere in the window, to grab the window and move it until a border is visible.

And I switched from LXDE desktop to LXQt desktop. There is not a whole lot of difference. LXQt has an integrated preference app - a big improvement. The CPU monitor is inferior to the LXDE monitor and you can't choose what icons are in the system tray. I will stick with LXQt because LXDE will not be updated (as I understand it).

LXQt lets you choose from several different windowing packages. But Openbox (the one used by LXDE) is the only one that has a "minimize" button on the title bar. I can't find any way to get a minimize button with the other windowing packages.

This all took about 12 hours. That's ridiculous. I don't know about other Linux distributions. Any suggestions?

2 comments:

  1. Using Linux for serious work is very roughly analogous to having to be your own car mechanic. Personally, I use Arch with Xfce. It's fine for my purposes, which is light desktop work. http://www.tedsims.com/ted_arch_xfce_setup.html

    ReplyDelete
  2. Yes.

    And Open Office word processing and spreadsheet and Gnumeric spreadsheet are vastly inferior to Microsoft Word and Excel. So there are certainly limits to Linux for many uses. But I manage to get things done. And Microsoft continues to find ways to offend me.

    ReplyDelete