You are not logged in.
I am trying to figure out gtk themes for my desktop (sddm and i3) and have some questions about how gtk theme settings work.
When setting a global theme does GSettings take precedence over settings.ini files only for gnome applications or does that apply for all gtk applications?
For applications which depend on libadwaita, I set the GTK_THEME envirnoment variable in ~/.bash_profile to try to force a different theme, as suggested in https://wiki.archlinux.org/title/GTK#GTK_3_and_GTK_4. Will this override settings.ini and gsettings for all GTK applications?
My preference is to have all the configuration in dotfiles in my home directory. However, I am also using gvfs for network shares and auto mounting, which depends on gsettings-desktop-schemas, and I don't want to change that if I don't have to. Is there a way to ignore gsettings entirely and have gtk only use settings.ini?
I am assuming all of this only applies to gtk3/gtk4 and not gtk2, which I have had no issues with.
Last edited by bomas (2025-05-23 18:42:40)
Offline
I think for system wide setting you can use /etc/environment. As root or sudo edit the file and add......
GTK_THEME=Adwaita-dark
Restart and you should be good to go as long as it's a GTK application.
I Am Canadian!
Offline
Thanks, that looks like it works. Also found these docs, which were helpful. https://docs.gtk.org/gtk3/class.Settings.html
Offline