#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
QT_AUTO_SCREEN_SCALE_FACTOR=1
QT_QPA_PLATFORMTHEME="gnome"
#QT_STYLE_OVERRIDE="kvantum"
# Force to use Xwayland backend
# QT_QPA_PLATFORM=xcb
#Not tested: this should disable window decorations
# QT_WAYLAND_DISABLE_WINDOWDECORATION=1
EDITOR=/usr/bin/nano
I had installed qt5ct, removed it and rebooted and its still not respecting theme. qgnomeplatform is installed.
Again, those apps you’re referring to are Qt apps. GTK themes only work with GTK apps. QGnomePlatform attempts, but if it can’t match the theme it should default to Adwaita. Alternatively, you can find a matching Kvantum theme.
Yeah, theme works correct on all distros that I tested - Ubuntu, Pop OS, Arch Linux, EndeavourOS, openSUSE, Gecko Linux, Fedora, Debian, CentOS, etc and the ONLY ONE where theme is broken is Manjaro… Come on man… Its not theme fault but distro issue…
Mine also did this, although I knew why and didn’t “blame” others, I just didn’t know what I was missing where.
I think it was eventually sorted with the following configuration:
System settings > Appearance > Global theme, in the right bottom, click on Get new... and install a dark theme. (I’m using the “Arc dark” theme)
System settings > Appearance > Plasma theme, in the right bottom click the Get new... button and download a theme. (I’m using the “Arc dark” theme). Also, For dark themes, I recommend installing the “Oxygen” theme. (Don’t enable it, just install it)
System settings > Appearance > Application style (I suspect this is where the big thing is), click on the Configure GTK... button in the bottom middle of the window.
In the middle of the window, select the theeme you wish to use. (This is where the Oxygen download from earlier comes into play. I use Ocygen dark (or something like that)
Don’t forget to save/apply after each step.
I hope this helps.
(P.S. Don’t be rude to the people that are only try6ing to help.)
I have finally been able to solve it. The problem is that the titlebar uses the light theme customization, which is inconsistent with Yaru.
First, set the theme in Kvantum to KVYaru. Then make any change to it in the custom settings section. This should generate a config folder for KvYaru in the config folder of Kvantum(~/.config/kvantum). Undo this change.
Next, go to the config folder and open the KvYaru# folder. Open the config file inside it and add this under the [%General] section
dark_titlebar=true
This should force the dark theme on the title bar and fix the problem.
So once again … this is only about QT apps then, not GTK?
and for yaru theme specifically?
But … yaru is a GTK theme … KVyaru isnt a real theme … its an automatically generated one from kvantum. But as far as them being generated … shouldnt there be Dark options?
In any case we are back at ‘why does my gtk theme not work on qt applications when I dont choose a dark qt theme’ … which seems pretty shruggable.
If there really is no better option … then I am glad for you to have your workaround I guess.