GnuCash version 2 uses GTK2 for its GUI. With version 3.0, GnuCash has upgraded to the GTK3 library.
It is important to note that the resource files are not created by default, and a user may need to create the appropriate files using a text editor.
How a user changes the appearance of GnuCash varies by platform.
- Users can use the Select Theme tool installed with GnuCash. This can be further modified by manually editing the appropriate resource file as identified at Resource file names. Note that manual edits can get overwritten by subsequent use of the Select Theme tool.
- Most desktop environments have a module in System Settings to adjust the general appearance of Gnome and all GTK apps. For application specific settings they have to modify their resource files directly using a text editor.
- Users edit the resource files directly using a text editor.
A sample GTK resource file for GTK2 is available at: GTK resource file example.
Here is an example that sets how toolbar items display:
gtk-toolbar-style = GTK_TOOLBAR_ICONS
The possible values are:
- icons only
- text only
- icons and text below
- icons and text aside
- This option is no longer supported by GTK3.
The GnuCash registers use a yellow/green theme by default for register windows. Users must disable this default theme in order to change register appearance.
To override this, one first has to disable this custom theme by enabling "Don't use GnuCash built-in colors" in the GnuCash Preferences.
GnuCash will now use the default system theme (or more precisely the default GTK theme for your system) for all styling. The system theme can be overridden by creating a custom GTK configuration file following these guidelines.
Then create or change the GTK resource file for further styling tweaks.For making changes to the register colors and fonts, you can copy the Register - Font section and the Register Window - Colors section to your own GTK resource file and adjust to taste.