[sf-lug] Turning off the bell in the X Window System

David Rosenstrauch darose at darose.net
Wed Jun 30 20:18:51 PDT 2010


On 06/30/2010 07:53 PM, John Magolske wrote:
> * John Magolske<b79net at gmail.com>  [100630 15:24]:
>> I tried  `xset b off` and ` $ xset -b` to no avail.
>>
>> I'd really like to set up my machine so that it never makes any
>> such beeping sound ever. Ok, well maybe when the battery is at a
>> dangerously low level. I've accomplished this in the console with
>> `setterm -blength 0`, and would like to do the same in X.
>
> One option I've come across is to blacklist the pcspkr module in
> /etc/modprobe.d/blacklist.conf ... which I haven't tried yet. Ideally
> I'd like to just turn off the bell, as there have been a few occasions
> where I forgot to plug in the AC adapter, the battery ran down to a
> very low level, and it was only the beeping that alerted me in time.
> But blacklisting that module may be the only solution at this point,
> as I believe this is a bug:
>
> Bug#564464: x11-xserver-utils: xset b no longer sets bell qualities
> http://us.generation-nt.com/bug-564464-x11-xserver-utils-xset-b-no-longer-sets-bell-qualities-help-168978431.html
> http://us.generation-nt.com/bug-564464-still-cant-adjust-bell-pitch-duration-xset-b-help-198719791.html
>
> John

Yes, you might try that as well.  Forgot to mention it, but I'm 
blacklisting both snd_pcsp and pcspkr.

HTH,

DR




More information about the sf-lug mailing list