I know how to change the editor color (view->Change color them...)

But I want to change the entire geany window (screenshot) to dark. is this possible?

enter image description here


Short answer : yes !!

I found this https://unix.stackexchange.com/a/185115 :

With gtk+ ≥ 3.12 you can load a specific theme and its variant (dark, light) on a per-application1 basis via the environment variable GTK_THEME=theme:variant. As per the gtk+ reference manual:

GTK_THEME. If set, makes GTK+ use the named theme instead of the theme that is specified by the gtk-theme-name setting [...] It is also possible to specify a theme variant to load, by appending the variant name with a colon, like this: GTK_THEME=Adwaita:dark.

So, to load the dark variant you would run:

GTK_THEME=Adwaita:dark gedit

Likewise, to achieve the opposite (when the default theme is dark), you load the light variant:

GTK_THEME=Adwaita:light gedit

Note that if you want to use it via a custom launcher (.desktop file) you'll have to prepend env to the command in the Exec line:

Exec=env GTK_THEME=Adwaita:dark eog %U

1: Worth noting that - as per the devs decision - newer gnome-terminal has its own configuration via menu > preferences and it ignores the theme. Also, since this is rather new stuff, some gtk+ 3 applications might not (yet) honor the GTK_THEME env variable (nautilus is one of them).

Also you will need to use a custom icon set for this application, so I found on https://unix.stackexchange.com/a/440374 :

For particular icon set per-application basis :

Derived from Except some applications (like VLC) from using the current gtk3 theme

create any folder path/to/FOLDER
create a icons/ folder inside it
put your desired icon set folder in it and rename that folder with the name of current icon set

After that you can force the use of this icon set with :


For dark theme you can use breeze-dark icon set

Cinnamon use metacity border-decoration, this is in themes/metacity-1/ folder. I don't know how to customize it for a specific application. The XDG_DATA_DIRS hack above won't work.

So if you want custom theme and icons, you can write in a terminal :


And for launching app with these settings in application .desktop file :

Exec=sh -c "GTK_THEME=Adwaita:dark XDG_DATA_DIRS=/path/to/FOLDER/:$XDG_DATA_DIRS %F"

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.