Nothing Special   »   [go: up one dir, main page]

Skip to content

The old Ubuntu Human theme for GTK 2.24, 3.24, 4.12 (Mate).

License

Notifications You must be signed in to change notification settings

luigifab/human-theme

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Human theme

This theme works with: GTK 2.24 (with murrine), GTK 3.24, and GTK 4.12.

It is mainly intended for Mate and Xfce desktop environments.

Screenshots

GTK 2.24 (Pango 1.51)
Preview with GTK 2 - Main window Preview with GTK 2 - Orange variation - Main window Preview with GTK 2 - Blue variation - Main window Preview with GTK 2 - Green variation - Main window
Preview with GTK 2 - Menu Preview with GTK 2 - Orange variation - Menu Preview with GTK 2 - Blue variation - Menu Preview with GTK 2 - Green variation - Menu

GTK 2.24 RTL (Pango 1.51)
Preview with GTK 2 - RTL - Main window Preview with GTK 2 - RTL - Orange variation - Main window Preview with GTK 2 - RTL - Blue variation - Main window Preview with GTK 2 - RTL - Green variation - Main window
Preview with GTK 2 - RTL - Menu Preview with GTK 2 - RTL - Orange variation - Menu Preview with GTK 2 - RTL - Blue variation - Menu Preview with GTK 2 - RTL - Green variation - Menu

GTK 3.24 (Pango 1.51)
Preview with GTK 3 - Main window Preview with GTK 3 - Orange variation - Main window Preview with GTK 3 - Blue variation - Main window Preview with GTK 3 - Green variation - Main window
Preview with GTK 3 - Menu Preview with GTK 3 - Orange variation - Menu Preview with GTK 3 - Blue variation - Menu Preview with GTK 3 - Green variation - Menu

GTK 3.24 RTL (Pango 1.51)
Preview with GTK 3 - RTL - Main window Preview with GTK 3 - RTL - Orange variation - Main window Preview with GTK 3 - RTL - Blue variation - Main window Preview with GTK 3 - RTL - Green variation - Main window
Preview with GTK 3 - RTL - Menu Preview with GTK 3 - RTL - Orange variation - Menu Preview with GTK 3 - RTL - Blue variation - Menu Preview with GTK 3 - RTL - Green variation - Menu

GTK 4.12 (Pango 1.51)
Preview with GTK 4 - Main window Preview with GTK 4 - Orange variation - Main window Preview with GTK 4 - Blue variation - Main window Preview with GTK 4 - Green variation - Main window
Preview with GTK 4 - Menu Preview with GTK 4 - Orange variation - Menu Preview with GTK 4 - Blue variation - Menu Preview with GTK 4 - Green variation - Menu

GTK 4.12 RTL (Pango 1.51)
Preview with GTK 4 - RTL - Main window Preview with GTK 4 - RTL - Orange variation - Main window Preview with GTK 4 - RTL - Blue variation - Main window Preview with GTK 4 - RTL - Green variation - Main window
Preview with GTK 4 - RTL - Menu Preview with GTK 4 - RTL - Orange variation - Menu Preview with GTK 4 - RTL - Blue variation - Menu Preview with GTK 4 - RTL - Green variation - Menu

Program used for the screenshots is available here.

Installation

🆕 Before start 🆕

To meet the truth (this is not required):

For Debian Testing, I provide a repository for gtk3-classic.

If you can't/won't, no worries, but the truth will be far.

Installation for Debian, Ubuntu, Trisquel, Linux Mint, MX Linux

  • Run: sudo apt install human-theme-gtk
  • Restart your session

Installation for Fedora

  • Run: sudo dnf install human-theme-gtk
  • Restart your session

Installation for openSUSE

  • Run: sudo zypper install human-theme-gtk
  • Restart your session

Installation for Mageia

  • Run: sudo urpmi human-theme-gtk
  • Restart your session

Alternative installation for Debian, Ubuntu, Trisquel, Linux Mint, MX Linux

  • Run:
# PPA: https://launchpad.net/~luigifab/+archive/ubuntu/packages
# with Debian 12+ you can use mantic+ instead of focal (https://unix.stackexchange.com/a/669008/364800)
# for Trisquel you can use focal for nabia, jammy for aramo
# for Linux Mint you can use focal for 20.x and 5, jammy for 21.x, noble for 22.x and 6
# for MX Linux you can use focal for 19.x and 21.x, noble for 23.x

sudo add-apt-repository ppa:luigifab/packages
sudo apt update
sudo apt install human-theme-gtk
# or
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys FFE5BD439356DF7D
echo "deb http://ppa.launchpad.net/luigifab/packages/ubuntu focal main" | sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt install human-theme-gtk
# or
sudo wget -O /etc/apt/trusted.gpg.d/luigifab.gpg https://www.luigifab.fr/apt.gpg
echo "deb http://ppa.launchpad.net/luigifab/packages/ubuntu focal main" | sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt install human-theme-gtk

# sha256sum /etc/apt/trusted.gpg.d/luigifab.gpg
578c89a677048e38007462d543686b53587efba9f93814601169253c45ff9213
# apt-key list
/etc/apt/trusted.gpg.d/luigifab.gpg
pub   rsa4096 2020-10-31 [SC]
      458B 0C46 D024 FD8C B8BC  99CD FFE5 BD43 9356 DF7D
  • Restart your session

Manual installation for Debian, Ubuntu, Trisquel, Linux Mint, MX Linux

  • Download archive and extract 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 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 mate-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 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

Manual installation for Mageia

  • Download archive and extract 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 themes: sudo urpmi mate-icon-theme
  • 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 or mate

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

For classic menu bar and menu items of Firefox 46+ and Thunderbird 46+, see bug 1622545.

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

This theme is provided under the terms of the GNU GPLv3+ license.
If you like, take some of your time to improve some translations, go to https://bit.ly/2HyCCEc.

Packages in official distros repositories

Packages status

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