LXQT problem environment variable at the least

So when I first installed CachyOS.

I like some others, had random issue where it simply didn’t work.

I simply tried again, re-did partitions etc, and it worked.

Then I played around a bit, didn’t like KDE, I tried LXQT through installing with KDE. This did not work.

I decided okay, I will reinstall CachyOS and use LXQT. I tried a few times, gave up and switched back to XFCE.

Now installing LXQT alongside XFCE. It does “work” but initially was problematic, didn’t have the right dependencies installed, so I did that.

Now even after doing several things suggested elsewhere and on the most recent LXQT issue on these forums which iirc is about 15days old.

QT5 settings and QT6 settings tell me The QT_QPA_PLATFORMTHEME environment variable is not set correctly (current value: lxqt, required values: qt5ct or qt6ct).

I tried

To reinstall packages using:

I tried

To add the env variable with:

export QT_QPA_PLATFORMTHEME="qt5ct" into
“qt5.conf” override file at: /etc/environment.d/qt5.conf

I tried:

The qt5ct-kde package in paru is the same as what is linked there.

I also tried to Add line ‘export QT_QPA_PLATFORMTHEME=qt5ct’ to ~/.profile and re-login.
Alternatively, create the file /etc/X11/Xsession.d/100-qt5ct with
the following line:

export QT_QPA_PLATFORMTHEME=qt5ct

Not using wayland. Didn’t add export QT_QPA_PLATFORM=wayland initially.

Now trying with that added to all the 300 paths above which do not seem to do anything.

Logging into XFCE this issue doesn’t seem to be a thing when running qt5 or qt6 configuration tools.

Is LXQT just not for CachyOS? I feel like if it isn’t KDE or XFCE it doesn’t want to play with Cachy.

Can you please elaborate on why installing LXQT through KDE or XFCE didn’t work? What exactly didn’t work? What were the error messages? How did you install LXQT too?

1 Like

The installer failed initially, and with LXQT specifically. As in the install of OS.

Now that I have installed LXQT alongside XFCE. With sddm which was already there from initial boot/install.

I initially used Octopi, I thought I had all the relevant packages initially selected. Which apparently I was missing themes iirc.

qt5/6 configuration tools gave me the environment error.

(QT5 settings and QT6 settings tell me The QT_QPA_PLATFORMTHEME environment variable is not set correctly (current value: lxqt, required values: qt5ct or qt6ct))

So I used the command :

sudo pacman -S lxqt xdg-utils ttf-dejavu sddm

Which did nothing.

I then tried to add the environment variables. In several ways.

Solved. Read Archwiki(duhr) on LXQT how to add environment variable. As simple as going to session manager and adding the environment variable.

QT_QPA_PLATFORMTHEME and the value as qt5ct and restarting the DE/relogging.

But still I was super confused about why qt5/6 configuration worked in XFCE and not LXQT amongst other things. I figured following the most recent issues on LXQT on Cachy forum would work.

Not sure why you asking me made me think to go read the Archwiki again but it did.

I have complete system lock ups in Firefox since LXQT. Regardless if it is in Xfce or lxqt, x11 or Wayland.

Can’t even switch tty’s. Initially the mouse moves but yeah.

At this point I’m just over it.

A hammer feels like a true solution to any binary construct that I encounter.

Windows and industry really just ruined it for me before I even really got to try. As I simply don’t want to anymore.

Went to different kernel. Now just having weird usb problems where my usb just repeats the last sent message. Sometimes my mouse will just freeze. Sometimes a key will just repeat itself. Don’t feel too safe with this in terms of data to usb…

Edit: Seems okay now on XFCE, removed lxqt, rebooted.