You are not logged in.
Hello. I am very confused as far as the theming of certain applications goes. I use dwm and have configured lxappearance-gtk3 to use my preferred widget, icon and cursor themes (Nordic, Papirus-Dark and Nordzy-cursors-white respectively). I have installed qt5-styleplugins alongside qt6gtk2 and configured qt5ct, qt6ct to use the gtk2 style. Additionaly, I have QT_QPA_PLATFORMTHEME=qt6ct in my /etc/environment. Everything works well, except for GNOME/KDE applications (e.g. gnome-calendar, baobab, filelight etc.), which do not respect the former theming settings. Here's what I tried:
Setting GTK_THEME=Nordic changes the widget theme in GNOME apps, but the icon theme is still Adwaita.
Setting QT_STYLE_OVERRIDE=gtk2 has no effect.
Using dconf to change /org/gnome/desktop/interface/gtk-theme and /org/gnome/desktop/interface/icon-theme has no effect.
~/.config/kdeglobals created by KDE's systemsettings does change the appearance of KDE apps, but not in accordance with the QT or GTK themes.
Installing qt5ct-kde instead of qt5ct has no effect.
I have read the Uniform look for Qt and GTK applications in the Arch wiki, but nothing seems that relevant. I should mention that only kdenlive behaves well since the style can be changed inside the app (I use gtk2). Am I missing something? Why does this happen only on GNOME/KDE apps?
Offline
I am trying to make Anki not look like an Alien in either GNOME or KDE (I usually switch between big releases because i have to know how to use both DEs and how their changes behave after big releases) and after setting what feels like 20 environment variables and changing tons of config files, i gave up and just accepted it looks like an alien.
I am rooting for you to get it working, but i tried every trick i could find and talked to the devs of GTK, Qt and Anki and i was unable to find a working solution. Some solutions did work in the past but the devs who are developing these gave up on their projects and nobody took over.
I am pretty sure there is a way to make this working but it will surely break with every other big update and will not be worth the work. At least for me.
Offline
Too bad... I gave up as well. I tested the behaviour of filelight and gnome-calendar on another machine running Linux Mint and I was able to theme them properly through qt5ct, without any environmental variables. So I would assume the issue lies with the newer versions of these apps or qt/gtk.
Offline