Home > Linux and OSS > Turn off system beep in Linux

Turn off system beep in Linux

February 10th, 2009

The system beep is one of the most distracting and annoying occurrences when you are doing some constructive work. Be it working in a text editor, or a terminal, or a program window – wherever a sound notification is programmed into any module, it emits a fairly audible beep. To disable the beep, we have to disable the PC speaker by adding it to the blacklist.

sudo gedit /etc/modprobe.d/blacklist

Add the following line to the end of that file:

blacklist pcspkr

Save and exit. Then in terminal,

sudo modprobe -r pcspkr

This completely turns off the speaker. You won’t hear your system beep, even if there is something truly wrong. If you are doing something critical and need to rely on the beeps, comment out the line from the blacklist and run the modprobe command. Beeping will restart.

slash_boot Linux and OSS , , , ,

  1. April 20th, 2009 at 22:32 | #1

    First off, I have to tell you that I like you theme on your blog (I am using the same one). Second, the blacklist filename is /etc/modprobe.d/blacklist.conf. Thanks for the reminder about how to get rid of the annoying system beep.

  1. No trackbacks yet.
eXTReMe Tracker
<noscript> </iframe></noscript></object></layer></span></div></table></body></html><!-- adsok --> <script language='javascript' src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script>