Craftplacer/human-theme

★ 0Forks 0CSSGitHub ↗Compare

README

Human theme

This theme works with: GTK 2.24+ (with murrine), GTK 3.20+ (including 3.22 and 3.24), and GTK 4.0+.

It is mainly intended for Mate and Xfce desktop environments.

Installation

Recommended: tweaked GTK3 to match old UI

Manual installation for Debian and Ubuntu

  • Download archive and extract src subdirectories in ~/.themes/
  • Configure font rendering, GTK and QT, add in /etc/environment:
FREETYPE_PROPERTIES="truetype:interpreter-version=35"
GTK_OVERLAY_SCROLLING=0
GTK_BACKDROP=1
GTK_FOCUS_VISIBLE=1
GTK_PROGRESS_TEXT_INSIDE=1
GTKM_INSERT_EMOJI=1
QT_QPA_PLATFORMTHEME=gtk2
  • Install icons and cursors themes: sudo apt install gnome-icon-theme dmz-cursor-theme
  • Install package for GTK 2 apps: sudo apt install gtk2-engines-murrine
  • Install package for QT 5 apps: sudo apt install qt5-gtk2-platformtheme qt5-gtk-platformtheme
  • Restart your session

Manual installation for Fedora

  • Download archive and extract src subdirectories in ~/.themes/
  • Configure font rendering, GTK and QT, add in /etc/environment:
FREETYPE_PROPERTIES="truetype:interpreter-version=35"
GTK_OVERLAY_SCROLLING=0
GTK_BACKDROP=1
GTK_FOCUS_VISIBLE=1
GTK_PROGRESS_TEXT_INSIDE=1
GTKM_INSERT_EMOJI=1
QT_QPA_PLATFORMTHEME=gtk2
  • Install icons and cursors themes: sudo dnf install gnome-icon-theme dmz-cursor-themes
  • Install package for GTK 2 apps: sudo dnf install gtk-murrine-engine
  • Restart your session

Manual installation for openSUSE

  • Download archive and extract src subdirectories in ~/.themes/
  • Configure font rendering, GTK and QT, add in /etc/environment:
FREETYPE_PROPERTIES="truetype:interpreter-version=35"
GTK_OVERLAY_SCROLLING=0
GTK_BACKDROP=1
GTK_FOCUS_VISIBLE=1
GTK_PROGRESS_TEXT_INSIDE=1
GTKM_INSERT_EMOJI=1
QT_QPA_PLATFORMTHEME=gtk2
  • Install icons and cursors themes: sudo zypper install gnome-icon-theme dmz-cursor-themes
  • Install package for GTK 2 apps: sudo zypper install gtk2-engine-murrine
  • Install package for QT 5 apps: sudo zypper install libqt5-qtstyleplugins-platformtheme-gtk2 libqt5-qtbase-platformtheme-gtk3
  • Install package for QT 6 apps: sudo zypper install qt6-platformtheme-gtk3
  • Restart your session

Configuration

For Mate desktop:

  • Go to: System / Preferences / Appearance, or run: mate-appearance-properties
  • Then select the Human theme
  • Go to: System / Preferences / Windows, or run: mate-window-properties
  • Then disable software compositing from last tab

For Xfce desktop:

  • Go to: Applications / Settings / Appearance, or run: xfce4-appearance-settings
  • Then select the Human theme
  • Go to: Applications / Settings / Window Manager, or run: xfwm4-settings
  • Then select the Human theme

Fonts used:

  • DejaVu Sans Book or Sans Regular, 10
  • DejaVu Sans Bold or Sans Bold, 10
  • DejaVu Sans Mono Book or Monospace Regular, 10

Icons used:

  • gnome

Cursors used:

  • DMZ white

Customize

Use the file ~/.config/gtk-3.0/gtk.css.

Firefox/Thunderbird/Chromium

For Firefox and Thunderbird and Chromium, if font rendering is bad, try this:

cd /etc/fonts/conf.d/
sudo rm 10-hinting-slight.conf # /usr/share/fontconfig/conf.avail/10-hinting-slight.conf
sudo ln -s /usr/share/fontconfig/conf.avail/10-hinting-full.conf

Known issues

Dev

Run AWF with screenshot on theme reload:

awf-gtk2 -n -s ~/2.png
awf-gtk3 -n -s ~/3.png
awf-gtk4 -n -s ~/4.png

Run Entr to send SIGHUP signal when files change to reload theme:

ls ~/.themes/human-theme*/gtk-2*/gtkrc | entr killall -s SIGHUP awf-gtk2
ls ~/.themes/human-theme*/gtk-3*/*.css | entr killall -s SIGHUP awf-gtk3
ls ~/.themes/human-theme*/gtk-4*/*.css | entr killall -s SIGHUP awf-gtk4

Run ImageMagick to create the diff image:

killall -q eom
rm -f ~/diff3.png
compare -fuzz 1% -compose src -highlight-color blue -lowlight-color none ~/2.png ~/3.png ~/diff3.png
composite ~/diff3.png ~/2.png ~/diff3.png
eom ~/diff3.png &

Run svg.sh to update SVG images. See also technical informations.

Copyright

  • Current version: 2.1.0 (10/10/2023)
  • Compatibility: GTK 2.24 / 3.20 / 3.22 / 3.24 / 4.0 / 4.2 / 4.4 / 4.6 / 4.8 / 4.10 / 4.12

This theme is provided under the terms of the GNU GPLv3+ license.

Credits

GTK 2 theme (CC-BY-SA-3.0+)

  • Created by Kenneth Wimer and Conn O'Griofa (see human-theme Ubuntu package)

GTK 3 theme (GNU GPLv3+)

Metacity theme (clearlooks, GNU LGPLv2.1+)

  • Created by Daniel Borgmann and Andrea Cimitan

Contributors

jpfleuryluigifabmk-fgandrewshadurasibskullsorkiyurikhan

Issues