LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   That annoying beep (https://www.linuxquestions.org/questions/linux-newbie-8/that-annoying-beep-224554/)

zchoyt 08-30-2004 08:31 PM

That annoying beep
 
Is there a way to disable the motherboard speaker from beeping everytime I make a wrong key stroke, or totally? Since I have installed linux, I have been "THAT GUY" in class with the noisy computer that everyone get annoyed with.

egag 08-30-2004 08:41 PM

yes, there is , i read it on the site of someone :callsign ''Insyte'', but i
can't find his web-adress. ( must be somewhere on the Slackware-forum )

egag

IBall 08-30-2004 08:59 PM

Edit the file /etc/inputrc. You will need to be root to do this.
Find the line that says "set bell-style audible" and change it to "set bell-style none"

When you reboot, the beep will be gone

I hope this helps
--Ian

zchoyt 08-30-2004 09:04 PM

Thanks, it worked like a charm.

zakk

chadwick 01-03-2007 04:58 PM

try removing the pcspkr module
 
It seems to me that using inputrc only fixes beeping associated with the bash shell. When I do it this way, the beeping from unsuccessful tab completions goes away, but I still get beeping in emacs and in less for example. You can remove the relevant module (called pcspkr) from the kernel and you'll still be able to listen to whatever you want from the soundcard since, as zchoyt mentions, the beeping's not coming from the soundcard. I have the module removed right now and there is no beeping. That's nice since I listen to the radio with headphones and the beeping is REALLY loud with my headphones. If you decide you need it again you can always insert the module back.

Here's an explanation:

http://www.arsgeek.com/?p=484

Sorry, there seems to be a problem right now with kernel 2.6.18 so the blacklisting doesn't work with that particular module but the rmmod works. Maybe there's a better way then that doesn't require always using rmmod.

homey 01-03-2007 05:27 PM

On my FC6 box, I put the modprobe -r pcspkr command in a file which gets run at bootup.

Code:

(echo '#!/bin/sh'; echo 'modprobe -r pcspkr') \
> /etc/sysconfig/modules/pcspkr.modules
chmod +x /etc/sysconfig/modules/pcspkr.modules

If for some crazy reason I did want that beep, I could run the command: modprobe pcspkr . NOT!

chadwick 01-05-2007 08:38 PM

Thanks for the tip. I did a search and found this really useful site: http://www.debian-administration.org/articles/28
which explained how to do it on my Debian system.
I just put "rmmod pcspkr" into a script and no more beep.


All times are GMT -5. The time now is 12:00 PM.