I hate the internal beep speaker. I hate it, I hate it, I hate it.👿 Okay, maybe not that much hate, but I really don’t like having it enabled. It beeps anytime the terminal cursor goes in the wrong direction. Or if the sound isn’t working quite right when I’m setting things up. Or if it’s time to put another quarter in the dryer. It’s just a nuisance.
On some machines I’m fine — Dell’s BIOS, for example, sometimes includes the option to mute the darn thing. But on others I’m not so lucky.
The easiest way I know of — short of popping the case and yanking the cord to the case speaker — is to blacklist the
pcspkr module. In Ubuntu, you can do that like this.
sudo nano -w /etc/modprobe.d/blacklist
At the end of the file, add this line.
Hopefully, that should keep it from ever mouthing off again.
In Arch, the same idea is handled in that lovely rc.conf file, where all the good stuff happens. Open your rc.conf. …
sudo nano -w /etc/rc.conf
(Yes, I use sudo in Arch. I’m a wimp.) Now find this line.
And change it to this.
Bingo. Silence. Now maybe I can get some work done.😈