We need to release another quick ISO because most of the QT apps stopped working.
To make this not too long, we use 2 packages that allow for the sync between GTK and QT in terms of theming, namely qt5-styleplugins
and qt6gtk2
. Now…it is not as simple, since these packages need to be rebuilt every time the core QT gets an update.
I thought we fixed that…but apparently they need to be rebuilt against the proper QT version. In essence these packages are automatically built by the Chaotic AUR servers, against whatever the AUR version of QT is. But we ship with a different version of QT, thus making these packages not work anymore…and so no QT app can be opened. This is a very bad issue.
To properly fix it is not that difficult fortunately, so please follow these steps.
Prioritize the TROM repo
Open the file /etc/pacman.conf
as root and make sure these two are in the same order:
[TROMrepo]
SigLevel = Never
Include = /etc/pacman.d/tromjaro-mirrorlist
[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist
First is the TROMrepo repo and then is the Chaotic AUR one. Save. Open Add/Remove Software and click the menu, then Refresh Databases. Do all of the updates!
REBOOT. Very important.
Clean old files and scripts
Let’s make a script that will do everything for you. Go to .local/bin/
and create an empty file, let’s call it “clean-tromjaro
”. Add this to it:
#!/bin/sh
printf "Removing the qt5ct package...\n\n"
sudo pacman --noconfirm -R qt5ct
printf "\nRemoving the qt6ct package...\n\n"
sudo pacman --noconfirm -R qt6ct
printf "\nRemoving the qt5ct folder...\n"
rm -r "$HOME"/.config/qt5ct >/dev/null 2>&1
echo "Removing the qt6ct folder..."
rm -r "$HOME"/.config/qt6ct >/dev/null 2>&1
echo "Removing unwanted lines from the .profile file..."
sed -Ei "/(export QT_QPA_PLATFORMTHEME=\"qt5ct\"|xset b off|# Show color output in less|export LESS=-R|export LESS_TERMCAP_mb=\\$'\\\e\[1;31m'|export LESS_TERMCAP_md=\\$'\\\e\[1;36m'|export LESS_TERMCAP_me=\\$'\\\e\[0m'|export LESS_TERMCAP_so=\\$'\\\e\[01;44;33m'|export LESS_TERMCAP_se=\\$'\\\e\[0m'|export LESS_TERMCAP_us=\\$'\\\e\[1;32m'|export LESS_TERMCAP_ue=\\$'\\\e\[0m')/d" "$HOME/.profile" >/dev/null 2>&1
grep -qs '\S' "$HOME/.profile" || { rm "$HOME/.profile" >/dev/null 2>&1; echo "The .profile file was empty, so its now removed"; }
printf "\nScript is self destructing, it will remove itself from the system.\n"
rm -f "$(readlink -f "$0")"
Save. Right click it, then Properties
, Permissions
and then “allow this file to run as a program
”. Open the terminal and do: clean-tromjaro
.
That should be it. We are removing more unnecessary packages and files.
For the sake of it reboot the computer again.
Goodies
Better consistency
We didn’t just fix that bad issue, we also managed to now sync fonts too, across GTK and QT, plus fixed some QT apps that were not themed before…so in terms of consistency we improved more. Now we have a much cleaner way of doing this and more robust. Check this video out. All of these are: GTK+XFWM, simple GTK, GTK+Libadwaita, QT5, QT6, and flatpak. The left side workspace is full of GTKs and a flatpak, the right side the QTs:
Now keep in mind that the vast majority of distros can only theme 2 of such types (max) and they don’t even sync the font or icons most of the time. And I know no other distro to sync them all.
Also note that some of these apps may not fully switch to the new theme/icon set if they are open while you change them. At times flatpaks, at times some QT apps…but restarting them fixes it. Maybe we will find a solution for this in the future, but for now it is not a big deal.
A simpler login page
We did some simple tweaks via the Lightdm Settings, as such
It is a more neutral theme and we added the panel on top. That can be done via /etc/lightdm/lightdm-gtk-greeter.conf
add a line panel-position = top
. If that line is already there edit it. I don’t know why you can’t change that from the GUI…
Menu - better
I asked my sister the other day to reboot her TROMjaro laptop and took her 5 minutes to understand how. I can blame her , but it is also true that it may not have been that obvious. Hopefully now it is. And we have names for categories too.
As you can see you have fast access to reboot, shut down, suspend and lock. You too can do these easily via the settings of the app-menu. Right click it, properties, and tweak a few things. It is damn easy.
Other
- KeePassXC now uses the system’s theme by default. If you want that go to
View - Theme - Platform native
. - Added the
hardinfo
package, a very useful tool that can show in great detail a lot of information about your hardware and operating system.
Lastly
I know I promised to not make you do “manual labor” and this is the goal here. To have TROMjaro working and we stress for you and fix things and then push the updates to you. Hopefully that’s how it is going to be more and more…we’ve already taken advantage of this approach that we first introduced in the previous release. We changed a bunch of things to make the theming, fonts and icons sync better, and all happened “behind the curtains” and pushed the update to you all. But we still had a few remaining files that needed to be cleaned-up and we had to fix the QT issue properly…
Now I think we are good. We control all of the files that we need to push fixes to TROMjaro without asking you to do them manually. We improve!