18

Is there a way to set active icon theme and GTK theme from a terminal?

I would like to write a script that installs and sets everything up the way i like it on a fresh install.

22

Should work with gsettings try these commands...

Change GTK-Theme:

gsettings set org.gnome.desktop.interface gtk-theme "CoolestThemeOnEarth"

Change Icon-Theme:

gsettings set org.gnome.desktop.interface icon-theme 'MyIconTheme'

Change Window-Theme:

gsettings set org.gnome.desktop.wm.preferences theme "CoolestThemeOnEarth"
  • Aah should have thought about that, thank you. btw do you know the difference between gconftool-2 and gsettings? – Kempe Mar 2 '13 at 7:59
  • 4
    You´re welcome :-) GConf is obsolete. It is the older GNOME 2.x configuration API and system, and has been replaced by DConf/GSettings in newer versions. However, some applications still use it. GSettings is a GLib implementation of DConf, which stores its data in a binary database. The gsettings command line tool is simply a tool to access or modify settings via the GSettings API, in the same way that the older gconftool command line tool is for GConf. – makim Mar 2 '13 at 9:33
  • Howto get the options available from each property? – e-info128 Apr 14 '17 at 16:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.