Clone or download
- Download the latest version as a ZIP or tarball
- Clone with: git clone https://elmord.org/code/LonDubh
Lon Dubh
Lon Dubh is a GTK2/3 theme. It is a derivative of the Blackbird theme (lon dubh is Gaelic for blackbird), which I like but is not dark enough to be comfortable for my eyes.
Right now it's just Blackbird with a few colors and borders changed here and there. I'm not even sure if I should have created a separate theme for that, or if it would be best to just use Blackbird and customize colors in ~/.config/gtk-3.0/gtk.css
(which seems to work okay) and ~/.gtkrc-2.0.mine
(which seems to ignore my gtk_color_scheme
override). ¯_(ツ)_/¯
To avoid repeating the same colors in both the GTK2 and GTK3 theme, I added a simple script build.sh
which replaces ${VARIABLES}
with values defined inside the script. It looks for files with a .pre
extension (e.g., gtk.css.pre
), replaces all variables, and outputs the result to the corresponding file without .pre
(e.g., gtk.css
).
How to use
Make sure you have the Murrine GTK2 engine installed. On Debian you can run:
sudo apt-get install gtk2-engines-murrine
Clone this repository into your ~/.themes
directory and run build.sh
:
mkdir -p ~/.themes
git clone https://github.com/vbuaraujo/LonDubh.git
cd LonDubh
./build.sh
Now you have to select the theme. You can use a program like lxappearance
for that (I use that even though I don't use LXDE, or any DE for that matter), or you can write the config files yourself (I got the file contents below from the files generated by lxappearance
; change as desired):
cat >~/.config/gtk-3.0/settings.ini <<EOF
[Settings]
gtk-theme-name=LonDubh
gtk-icon-theme-name=hicolor
gtk-font-name=Helvetica 9
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_TEXT
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=0
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=rgb
EOF
cat >~/.gtkrc-2.0 <<EOF
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
include "/home/vitor/.gtkrc-2.0.mine"
gtk-theme-name="LonDubh"
gtk-icon-theme-name="hicolor"
gtk-font-name="Helvetica 9"
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_TEXT
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=0
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
gtk-xft-rgba="rgb"
EOF
You're done.
Blackbird
Desktop Suite for Xfce
Copyright 2012 Simon Steinbeiß and Satyajit Sahoo
Blackbird is dual-licensed as GPLv2 or later and CC-BY-SA 3.0 or later.
The Blackbird desktop suite includes: GTK2 theme GTK3 theme (WIP) Xfwm4 theme Metacity theme
Install without admin privileges
./autogen.sh --prefix=$HOME/.local
make install
Install for all users
./autogen.sh
sudo make install