GTK3 theme in KDE on F22

Loïc Yhuel loic.yhuel at gmail.com
Tue Jun 23 22:58:57 UTC 2015


Hi,

On my F22 installation, gtk3 apps ignore the gtk3 theme I set in the 
kcm, and always use Adwaita.
The kcm seems to set "gtk-theme-name" in ~/.config/gtk-3.0/settings.ini.
When I use strace on gtk3-demo for example, I see the ini file is 
opened, but it only tries to open ~/.config/gtk-3.0/gtk.css (missing), 
then /usr/share/themes/oxygen-gtk/gtk-*/gtk.css.
If I kill the xsettings-kde process, then the correct theme is used 
(many seems to be half broken, but this isn't due to KDE...).
It probably sets oxygen-gtk since I'm using Oxygen in KDE, but since 
gtk3.16 removed the theme engine support there is no oxygen-gtk3 any more.
Unless there is an option to tell gtk to prefer settings from 
settings.ini, perhaps xsettings-kde should read the theme from 
kde-gtk-settings and only guess from the KDE theme if the value is the 
default one.

There is another issue with the icon theme : when using Oxygen the 
toolbar icons are very big (32x32, instead of 24x24 with Adwaita).
I created a GTK bug (https://bugzilla.gnome.org/show_bug.cgi?id=751411).


More information about the kde mailing list