Comment 32 for bug 486154

Revision history for this message
Robert Schroll (rschroll) wrote :

> 4. In my case the sound coming from the sound card was missing (point 1)
> and it works only if you disable compiz so I have to understand why
> compiz stops that sound.

If I understand correctly, this has nothing to do with the motherboard speaker. In Metacity, you're getting a sound file (bell.ogg) being played back at system bell events, but you're getting nothing at all in Compiz. Is this correct?

If so, then the issue (#7 in my numbering above) is that Compiz does not play a sound at system bell events, while Metacity does. Compiz isn't stopping the sound; rather, no sound is being made when you're running Compiz. Issues #1-3 have blocked the motherboard speaker. To reenable it, try running `sudo modprobe pcspkr` and `xset b on`. This should allow beeps under Compiz, though you won't get the bell.ogg sound.

IMHO, this illustrates why it's silly for the window manager to be intercepting system bell events. If something must intercept them, let it be Pulse Audio or some other WM-agnostic system.