In Ubuntu 16.04 LTS and before, the gThumb application (version 3.4.3) has a light background in its menus, its browser and its dialogues – like white or light grey. So the gThumb application fits nicely with my light Ubuntu desktop and the other applications.
Now since Ubuntu 17.04 or 17.10, and so also with Ubuntu 18.04 LTS beta, the gThumb application (version 3.6.0 in Ubuntu 18.04) has a dark background for all its menus, its browser and its dialogues – like black or dark grey. This breaks the harmony with my Ubuntu desktop and the other applications which all use light backgrounds, since I use a light Ubuntu theme. (Actually I am using Xubuntu but that's not the point here.)
Is there a way to configure gThumb's background color for menus, browser and dialogues? I didn't find any possibility, also not in dconf Editor.
You can run gThumb with your preferred GTK+ theme and its variant (light/dark) by the following command
for example
If you wish to make a change to the gThumb launcher so that it always launches the application with your preferred theme, then follow the steps below.
Copy the correct
.desktop
file associated to gThumb (it should be calledorg.gnome.gThumb.desktop
orgthumb.desktop
or something similar) from/usr/share/applications
to~/.local/share/applications
.Open the copied
.desktop
file using a text editor.Look for the
Exec=
line. Addenv GTK_THEME=<Theme-Name>:<Theme-variant>
just afterExec=
so that it now looks likefor example
Save the
.desktop
file.If you start your graphical session with a display manager like GDM or LightDM then you can set the GTK theme environment variable in your
~/.xprofile
.This is automatically picked up by the display manager without the need to modify individual
.desktop
files for each application.The syntax is
GTK_THEME=Theme:variation
, e.g.:And then logout/login again. You can then check whether this was correctly set using your terminal:
More info on the Arch wiki xprofile page.