Skip to navigation

Ubuntu/ Linux: How to permanently turn off the annoying system bell (beep)

You know what I mean … that loud loud beep that almost knocks you out whenever you type a non-available keyboard shortcut in Emacs.

For immediate relief (this will not persist through a reboot):

sudo modprobe -r pcspkr

For permanent relief, edit the file /etc/modprobe.d/blacklist and add the line:

blacklist pcspkr


On my Lenovo Thinkpad X41, there was still an annoying loud beep whenever I plugged in or unplugged the AC power cord. I had to disable this in the BIOS.

Comments are closed.