This morning the beep issued reappeared, and I started researching this bug.
"Enable system beep" is related to gconf key "/apps/metacity/general/audible_bell". Looking for its value in gconf-editor i could see that it was indeed set to false - as expected. Odd. Anyway, I don't use metacity, but compiz. I grabbed compiz source package and looked for the code that "links" metacity settings to the ones in compiz.
Audio bell settings are "synced" in bell_settings_changed() (gtk/window-decorator/gtk-window-decorator.c:5374), where the value attributed to META_AUDIBLE_BELL_KEY is copied to COMPIZ_AUDIBLE_BELL_KEY ("/apps/compiz/general/allscreens/options/audible_bell"). So, this explains why the enabling and disabling system bell in gnome sound properties capplet solves the system bell problem.
Next time this thing reappears I will check if compiz settings in gconf for audible_bell are as expected or not.
This morning the beep issued reappeared, and I started researching this bug.
"Enable system beep" is related to gconf key "/apps/ metacity/ general/ audible_ bell". Looking for its value in gconf-editor i could see that it was indeed set to false - as expected. Odd. Anyway, I don't use metacity, but compiz. I grabbed compiz source package and looked for the code that "links" metacity settings to the ones in compiz.
Audio bell settings are "synced" in bell_settings_ changed( ) (gtk/window- decorator/ gtk-window- decorator. c:5374) , where the value attributed to META_AUDIBLE_ BELL_KEY is copied to COMPIZ_ AUDIBLE_ BELL_KEY ("/apps/ compiz/ general/ allscreens/ options/ audible_ bell"). So, this explains why the enabling and disabling system bell in gnome sound properties capplet solves the system bell problem.
Next time this thing reappears I will check if compiz settings in gconf for audible_bell are as expected or not.