You are not logged in.

#1 2019-02-19 02:09:22

xdmtk
Member
Registered: 2019-02-19
Posts: 1

GTK 3.0 Theme switching

Hi all,

Does anyone know how to switch GTK themes programmatically? For some reason modifying `~/.config/gtk3-0/settings.ini` does nothing after killing/reloading the session, even though `lxappearance` or `gtk-chtheme` do exactly the same thing. It bothers me that I've only found GUI programs to do this simple operation. I must be missing something simple here.

Offline

#2 2019-02-20 21:32:41

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: GTK 3.0 Theme switching

Which desktop environment do you use?
i stumbled over that myself some time ago, got it to work, and then realised that I have no use for it and forgot it again...
quick search: https://superuser.com/a/1270815
let us know how it goes.

Offline

#3 2019-02-20 22:11:07

teckk
Member
Registered: 2013-02-21
Posts: 519

Re: GTK 3.0 Theme switching

~/.config/gtk-3.0/settings.ini
[Settings]
gtk-theme-name = gtk3theme1

Themes are at
~/.themes/gtk3theme1/gtk-3.0/gtk.css
~/.themes/gtk3theme2/gtk-3.0/gtk.css
~/.themes/gtk3theme3/gtk-3.0/gtk.css

And then your gtk3 theme has to match your gtk3 version. gtk3 changes
every so often, and you're left with a theme that does not work.

Offline

Board footer

Powered by FluxBB