Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
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"
Location: At the 100th Meridian where the great plains begin
Distribution: Debian Testing on T60 laptop
Posts: 105
Rep:
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.
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.
Location: At the 100th Meridian where the great plains begin
Distribution: Debian Testing on T60 laptop
Posts: 105
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.