File name : import.py

import sys
import compizconfig

#The last input on the command line will be the path to save the file to.

#Change keyword if you want to skip saving entries that are default

I'm using above python script form importing compiz exported profile from Terminal.

Like this : ./import.py myCompizProfile.profile

(I have give all the permission chmode 777 import.py)

This program is working perfectly on Ubuntu 12.04 (Zorin OS) with

Compiz(CompizConfig Settings Manager) version
Now my problem :
When I tried this same code in Ubuntu 12.10 Genome Remix with

Compiz(CompizConfig Settings Manager) version its not working.

Getting an error :

./import.py myCompizProfile.profile
compizconfig - Info: Backend : gsettings
compizconfig - Info: Integration : true
compizconfig - Info: Profile : default

(process:11253): GLib-GIO-WARNING **: g_settings_set_value: value for key 'visual-bell-type'
in schema 'org.gnome.desktop.wm.preferences' is outside of valid range

Question : Why I'm getting this error ?
How can I solve this error ?

  • Did you ever work out an answer for this? I'm running into the same issue. – Mark Mandel Jun 23 '13 at 2:30

I solved this by updating the schema file org.gnome.desktop.wm.preferences.gschema.xml using the actions listed below

sudo gedit /usr/share/glib-2.0/schemas/org.gnome.desktop.wm.preferences.gschema.xml

Search for visual-bell-type & modify the default value.

  • Can you paste what did you modify it to ? – neuron Aug 8 '15 at 19:50

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.