[Users] GTK-3 again // was: Fixing interface colors

mi codejodler at gmx.ch
Thu Mar 23 21:36:34 UTC 2023


If it's not going the overrdide way, then you probably have to copy a full original gtk.css and then tweak it.

However i could not find yet how to name them. Maybe just like 'claws-mail.css' ?


(2) Create  $HOME/.config/*App name*/gtk-3.0 and put a file 'settings.ini' there which containts:


	[Settings]
	gtk-application-prefer-dark-theme=true


Not all apps may use that .config dir (although they should) and if not then try add  an alias like (if it was gnome-terminal):

	gnome-terminal="XDG_CONFIG_HOME=$HOME/.config/gnome-terminal    gnome-terminal" >> $HOME/.alias

for commandline launch.


(3) Another way to apply a specific theme is to put the  GTK_THEME=  variable into the app launch environment.

For commandline that would be like

	GTK_THEME=elementary   claws-mail

and again you can create a fixed alias, a desktop launcher, or whatever.

You can probably create you own theme for this, too. (Copy a theme folder and modify it)


More information about the Users mailing list