Lucas Vieites .com Logo
Lucas Vieites .com
«I intend all my puns»

Set GTK and icon theme for Geany on macos

 

NOTE: These instructions are obsolete as Geany now ships a GTK theme and icons in the macos bundle (see: https://github.com/geany/geany-osx. You can still use this information to set the theme for other GTK apps on macos.

  1. Create the following directories
    • mkdir ~/.themes
    • mkdir -P ~/.local/share/icons
  2. Create the file ~/.gtkrc-2.0 if it doesn't exist
  3. Create a symlink to this file with the name .gtkrc-3.0
    • ln -s ~/.gtkrc-2.0 ~/.gtkrc-3.0
  4. Create ~/.config/gtk-3.0/settings.ini and edit these lines
    • gtk-theme-name = <your theme name>
    • gtk-icon-theme-name = <your icon pack name>
  5. Copy your favorite GTK 3 theme to ~/.themes
  6. Copy your icon theme to ~/.local/share/icons
  7. Edit ~/.gtkrc-2.0 and add or modify this line, adding the path to your theme
    • include "/Users/_<your user name>_/.themes/_<your theme folder>_/gtk-3.0/gtkrc"
  8. Restart Geany

Author:   ✦  Published:   ✦  Updated:   ✦