After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 539729 - Annoying system beeps
Annoying system beeps
Status: RESOLVED DUPLICATE of bug 315859
Product: libgnome
Classification: Deprecated
Component: general
2.23.x
Other Linux
: Normal normal
: ---
Assigned To: libgnome maintainer
libgnome maintainer
Depends on:
Blocks:
 
 
Reported: 2008-06-23 11:01 UTC by Felipe Contreras (banned)
Modified: 2008-11-14 12:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Felipe Contreras (banned) 2008-06-23 11:01:56 UTC
System beeps are annoying, they should be disabled by default.

If enabled, they should produce a nice beep sound instead of using the pc speaker. That sound is not acceptable in a modern desktop.
Comment 1 Marc-Andre Lureau 2008-06-23 15:35:28 UTC
I am not sure GNOME Media, as such, can solve this.

Bastien, do you think we should have a handler in gnome-settings-daemon (or whatever daemon as plugins framework for small things like that)

What about conflicting setup where PA is also installed with the x-bell handler?

Should this be a distribution issue instead?

I can agree with Felipe that those loud beep are awful, and still exists on debian (I had the same issue a few days ago too). Ubuntu has probably disabled the pcspkr module.
Comment 2 Lennart Poettering 2008-06-23 19:05:48 UTC
Didn't metacity use to hook into the bell event from X?

Some part of GNOME should hook into this event and play some sound using libcanberra.
Comment 3 Marc-Andre Lureau 2008-09-01 17:54:36 UTC
gnome-settings-daemons:

beta@pipo ~/git/gnome2/gnome-settings-daemon (master)$ ack-grep bell
plugins/keyboard/gsd-keyboard-manager.c
68:#define KEY_BELL_VOLUME   "/desktop/gnome/peripherals/keyboard/bell_volume"
69:#define KEY_BELL_PITCH    "/desktop/gnome/peripherals/keyboard/bell_pitch"
70:#define KEY_BELL_DURATION "/desktop/gnome/peripherals/keyboard/bell_duration"
71:#define KEY_BELL_MODE     "/desktop/gnome/peripherals/keyboard/bell_mode"
306:        int              bell_volume;
307:        int              bell_pitch;
308:        int              bell_duration;
320:        bell_volume   = gconf_client_get_int   (client, KEY_BELL_VOLUME, NULL);
322:        bell_pitch    = gconf_client_get_int   (client, KEY_BELL_PITCH, NULL);
323:        bell_duration = gconf_client_get_int   (client, KEY_BELL_DURATION, NULL);
326:        bell_volume   = (volume_string && !strcmp (volume_string, "on")) ? 50 : 0;
360:        kbdcontrol.bell_percent = bell_volume;
361:        kbdcontrol.bell_pitch = bell_pitch;
362:        kbdcontrol.bell_duration = bell_duration;


And metacity has plenty of code in src/core/bell.c about visual bell AND audible bell...

I have no idea how this thing work in the end :)

Reassinging to settings-daemon, they should know.
Comment 4 Jens Granseuer 2008-09-02 15:33:32 UTC
See bug 474053 for some explanation. Metacity is the app hooking into XKB (which provides the bell handling). The schema to disable the bell by default lives in libgnome.
Comment 5 Kjartan Maraas 2008-09-08 16:07:57 UTC
I'm all for either turning it off or adding a custom sound file to play if enabled by default. Any takers?
Comment 6 Luis Villa 2008-11-14 12:44:27 UTC
'play a less annoying sound' is a dup; marking as such.

*** This bug has been marked as a duplicate of 315859 ***