Turn off system beep

From LinuxIntro
Jump to: navigation, search

When working in an office, you do not want your computer to beep. It is very annoying if for every tab completion you (and your colleagues) hear the system bell. Here is how to turn it off:

  • turn it off once:
modprobe -r pcspkr
  • turn it off for every future reboot:
cd /lib/modules/$(uname -r)/kernel/drivers/input/misc/
mv pcspkr.ko pcspkr.ko.disabled
This will rename the kernel module for the PC speaker to pcspkr.ko.disabled so it will not be loaded any longer.