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.
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.