I have a x11 gui application running on GNOME (Fedora 24), which by default launches using the light GTK theme.

I would like to make it use the dark GTK theme variant, and found that after launching the window, one could do the following to change the theme variant:

$ xprop -f _GTK_THEME_VARIANT 8u -set _GTK_THEME_VARIANT "dark"

So, my question is, how to specify this setting at launch time, similar to this:

$ some_magic my_x11_app  # launch as dark theme

? Thank you!

  • What is the app? – ctrl-alt-delor Jul 11 '16 at 8:55
  • It's a variant of xterm, named xgterm – Jerry Ma Jul 11 '16 at 9:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.