How to set adwaita-dark title bar in gtk2 apps?

asked 2016-01-26 09:04:10 -0500

AxelSkye gravatar image

My question is how to run gtk2 (ie Spotify) already with the adwaita-dark title bar. If I run a gtk3 app I can set the dark theme with this: GTK_THEME=Adwaita:dark ''name_of_the_app'' Or Exec=env GTK_THEME=Adwaita:dark ''name_of_the_app'' but it doesn't seem to work for gtk2 apps. However if I run: $ xprop -f _GTK_THEME_VARIANT 8u -set _GTK_THEME_VARIANT "dark" -name ''name_of_the_app''

Once the app is already opened, it will change the theme, but only until the app is closed. Is there a way to make this change permanent or a different way to set it.

Thanks in advance

edit retag flag offensive close merge delete