Ticket #439 (closed defect: wontfix)
early load of module-x11-bell leaves standard X bell active too
| Reported by: | liblit | Owned by: | lennart |
|---|---|---|---|
| Milestone: | Component: | module-x11-* | |
| Keywords: | Cc: |
Description
Overview
The standard X bell is not suppressed after I load module-x11-bell during login. It is correctly suppressed if I subsequently unload and reload that module, though.
Details
I run the following script on login to load up module-x11-bell:
#!/bin/sh -e pactl upload-sample "$HOME/lib/bell.wav" x11-bell pactl load-module module-x11-bell "display=$DISPLAY" sample=x11-bell >/dev/null xset b 100
The script is actually launched as part of the GNOME autostart system, i.e., via a .desktop file in ~/.config/autostart.
Once the session is up and going, X bell calls play the expected PulseAudio sample. However, they also produce the standard X bell at the same time. That is unexpected and inconsistent with the module-x11-bell documentation.
If I subsequently unload module-x11-bell, then we're back to the standard X bell and no PulseAudio sample. If I then reload module-x11-bell, the standard X bell is suppressed and I hear only the PulseAudio sample. That is the expected, documented behaviour, and is how things should have behaved the first time the module was loaded.
