Addon:ThemePreferences
This is a Third-party Addon. Please use carefully on data that is backed up, and help make it better by reporting any comments or problems to the author, or issues to the bug tracker |
The Theme Preferences addon adds a small set of configuration settings to the Preferences dialog. A new tab Theme is added containing a few new settings related to Gramps appearance.
Settings
There are four new settings;
- Theme:Adwaita setting allows the user to select from the installed themes on their machine. A few of the themes will come standard with the system library Gtk. Others may be part of the Operating System, particularly in Linux based systems.
Note that not all themes are fully compatible with Gtk and Gramps; if the theme selected doesn't look right, with missing elements or other issues, select another theme.
- Dark Variant If the current theme includes a dark version of the theme as a subset, selecting will activate the dark version. (Also called Dark Mode) The Dark Mode is deselected by default.
- Font:font family point size Brings up a selector which allows the user to pick a Font family to be used throughout the Gramps interface, and/or change the font size. The fonts presented are those found on the system. After making a font change, restart Gramps.
- Toolbar Text Enables text below the main Gramps toolbar icons. Toolbar labels are deselected by default.
- Fixed Scrollbar (Requires Restart) This overrides the Gramps scrollbars to be a bit more 'classic' in behavior and appearance. Fixed Scrollbar is deselected by default.
- This option toggles between the default and these overrides:
- Scrollbars remain visible rather than disappearing when not in focus
- Arrow button (up/down) are shown at scrollbar ends
- clicking in the empty space above and below the slider acts as page up or page down instead of 'Warp to position'
- Note that changing the scrollbars setting requires restarting Gramps, and may require restarting your session (Log off and log back on to Windows), particularly when disabling the setting.
- Restore to Defaults This returns Gramps theme settings to their default values, as if no changes were made with these settings.
Installing your own theme
Themes (correctly copied into the appropriate OS folder and with the correct subfolders) will simply appear as new pull-down menu options in the Themes tab that appears in Preferences after the Theme Preferences addon has been installed.
Windows
It is possible to change the Gramps theme on the Windows AIO.
The Gramps AIO version 5.0.x uses Gtk 3.18 or higher, so a theme MUST be selected that supports that version (themes that are designed for a later version may not work). The current Gtk version is reported in the Addon:Prerequisites_Checker_Gramplet.
Suitable alternate themes may be found at the gnome-look.org website.
Download the theme file (often a tar.gz) and, if necessary, decompress it using 7-zip or similar.
The decompressed files should be stored within a folder in "C:\Users\
<username>\.themes
" (Substitute <username> with your login name under Windows. Less ambiguously, you could take advantage of the %USERPROFILE%
Windows environment variable and the destination folder is: %USERPROFILE%\.themes
)
The folder .themes
can be manually created if it does not already exist.
So, the final directory structure for a theme named "MyAwesomeTheme" looks like:
C:\Users\
<username>\.themes\MyAwesomeTheme
or
%USERPROFILE%\.themes\MyAwesomeTheme
Linux
You should follow instructions for your distribution. Some other information that could help is provided GEPS_029:_GTK3-GObject_introspection_Conversion#GTK_3_theme.
See also
- Modifying Themes discussion on Discourse
- Theme Preferences Third party addon (addon source code on GitHub)
- Windows AIO themes : Raleigh and High Contrast (not pretty... but a good accessibility theme)
- Downloadable themes (screen captures):
- Greybird-Modv2 : a darker gray (no dark theme)
- Crown Blue : Similar to Adwaita. Checking the Dark Variant makes it transparent on a Win10 system.
- Victory : Another gray with no dark theme.
Some might find Yaru themes more to their liking. There are many other colors and dark themes.