Comment 11 for bug 537703

Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: [Compiz] [Bug 537703] Re: Compiz intercepts alert sound from gnome-terminal

On Sat, Apr 23, 2011 at 11:39 AM, Robert Schroll <email address hidden> wrote:
> I just filed bug #769314, which I believe addresses the same problems.
> See that bug for the full details, but the short version is:
>
> - gnome-volume-control assumes Metacity is controlling the system bell.
> When Compiz is running, it does nothing.
>
> - Pulse Audio could produce a sound for system bell events, via
> module-x11-bell, but it is misconfigured.
>
> - The PC speaker is blocked by the blacklisting of pcspkr, the X bell
> volume being 0, and module-x11-bell being loaded.
>
> IMHO, Compiz is doing the right thing by not handling the system bell.
> These other components should be fixed and made to work together, and
> the system bell would be window-manager-agnostic.

I see three options here:

1) Stick bell handling into the toolkit (probably the best option,
since GTK already emits some sounds through libcanberra anyways, but
this will lead to some inconsistent sounds with GTK and QT apps unless
QT uses the gnome sound theme)
2) Stick all sound handling into the window manager. Compiz already
handles the X11 bell, so this is fairly easy to do (plus we can handle
other window management sounds)
3) Create another daemon to monitor the X bell and play a sound when a
bell event happens (please no)

>
> --
> You received this bug notification because you are a member of compiz
> packagers, which is subscribed to compiz in Ubuntu.
> https://bugs.launchpad.net/bugs/537703
>
> Title:
>  Compiz intercepts alert sound from gnome-terminal
>
> _______________________________________________
> Mailing list: https://launchpad.net/~compiz
> Post to     : <email address hidden>
> Unsubscribe : https://launchpad.net/~compiz
> More help   : https://help.launchpad.net/ListHelp
>

--
Sam Spilsbury