I've seen several methods to do this.

However, most of them are not an option to me. I can't use unity-tweak-tool because I need to run the script as root. I can't seem to find a gsettings command that works (tried several by now). All I want to do is install the theme 'Ambiance-dark-red', and then set it as the default. But I need to be able to do this as root.

Can you guys help me out? I'm currently on 14.04, but it would be great if this worked on future releases.

share|improve this question

migrated from stackoverflow.com Aug 13 '15 at 7:56

This question came from our site for professional and enthusiast programmers.

Gtk-theme :

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

Icon-theme :

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

Window-theme :

gsettings set org.gnome.desktop.wm.preferences theme "YourWindowTheme"
share|improve this answer
    
Is there any method to make sure the string is the correct one? – Luís de Sousa Aug 9 '16 at 6:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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