Take the 2-minute tour ×

In Ubuntu 12.04, how will I be able to set the gnome window theme with a bash command?

This no longer works (it used to in the previous releases)

gconftool-2 --set --type string /apps/metacity/general/theme 'Adwaita'
share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

You can use the gsettings command to change the theme now. This would be the functional equivalent to your command:

gsettings set org.gnome.desktop.wm.preferences theme Adwaita

share|improve this answer
thanks, worked perfectly –  Mr Hyde May 30 '12 at 15:45
@MrHyde can you please choose to "Accept" the answer then? Thanks. :) –  dobey May 30 '12 at 21:53
forgot to do so after the 10 minute timeout for accepting an answer :-) –  Mr Hyde May 31 '12 at 20:01
add comment

Your Answer


