Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 ?

share|improve this question
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.

share|improve this answer
Can you paste what did you modify it to ? – neuron Aug 8 '15 at 19:50

Your Answer


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.