Disabling Your PC Speaker in Ubuntu

Like most people, I find that the PC speaker makes it’s incredibly rude noises at exactly the wrong times. You can make it be quiet for the time being by typing in the following at the command prompt:

sudo modprobe -r pcspkr

You can stop it forever by simply blacklisting the module. Edit /etc/modprobe.d/blacklist and add this line:

blacklist pcspkr
  • Share/Bookmark