Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

My target is to write a shell script to change my gnome theme, as I am developing a GUI program (this program will set the same parameters as Gnome theme), where user can select one out of four themes which I will write to the script and I will call (in background) the script in that GUI program.
I searched that it is possible in Ubuntu by gsettings. But I am unable to execute the same in my Centos6 x64 platform. I don't know the parameters of gsettings, the man page is not very explanatory.

share|improve this question
Second answer in that link is self explanatory. Running gsettings set org.gnome.desktop.interface gtk-theme 'MyTheme' should instantly change your GTK+ theme to MyTheme. What exactly is it that you're unable to execute ? –  don_crissti Mar 30 '13 at 11:16
I am getting the error : GLib-GIO-ERROR **: Settings schema 'org.gnome.desktop.interface' is not installed –  Tejas Mar 30 '13 at 11:18
Make sure you have gsettings-desktop-schemas installed. –  don_crissti Mar 30 '13 at 11:24
add comment

Your Answer


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

Browse other questions tagged or ask your own question.