Tempus themes for GTK3 source code highlighting
Used in the following applications (non-exhaustive list):
- Gedit (default GNOME text editor)
- Pluma (default MATE text editor)
- Mousepad (default Xfce text editor)
- Xed (default Linux Mint Cinnamon text editor).
If you use Arch Linux or derivatives, you can get these themes from the AUR.
Manual installation instructions
The theme files can be located in either of two places:
/usr/share/gtksourceview-3.0/styles/which makes them accessible to all users (requires root privileges).
~/.local/share/gtksourceview-3.0/styles/for use by the current user (directory path needs to be created if it does not already exist).
Choose whatever option suits your needs. The following document will use the latter as a working example.
We use the command line
Start by cloning the
tempus-themes-gtksourceview3 repo and entering it (unless you prefer copy-pasting, in which case you need to get the files manually and adapt accordingly):
git clone https://github.com/protesilaos/tempus-themes-gtksourceview3.git --depth 1 && cd tempus-themes-gtksourceview3
Prepare the destination directory
This step is normally not needed if you copy the files to
Then make sure you have the local directory to store the files. Run the following command, excluding the lines that start with
# (those are comments):
# Create directory if it does not already exist mkdir -p ~/.local/share/gtksourceview-3.0/styles/
Copying the theme file
Now just copy the file you wish to use. The following command will have
tempus_winter as an example:
cp tempus_winter.xml ~/.local/share/gtksourceview-3.0/styles/
The theme will then be available from the application's preferences window, under "colours" or some similar option.
Copying all themes
You want to test them all out? A simple command to copy everything:
cp *.xml ~/.local/share/gtksourceview-3.0/styles/
For all available ports, refer to the main Tempus themes repo.
All contributions should be submitted to the Tempus themes generator. See CONTRIBUTING.md.
GNU General Public License Version 3. See LICENSE.
The Tempus themes project consists of a number of repositories. It is maintained with a set of scripts and utilities, stored in the tempus-themes-utils.
All theme files are created with the Tempus themes generator. See the generator CONTRIBUTING.md.
If you appreciate this work, consider donating via PayPal.