Disabling system beep in Linux

Posted on 2011/12/13

0


I noticed that on my Debian Testing installation the system beep is active, even though my computer has a nice and common integrated sound card. To disable the annoying beeps at start-up and shut-down, the common solution is to blacklist the “pcspkr” module, which is responsible for the beeping noise.

I noticed that most advices on the Internet seems to rely on using “/etc/modprobe.d/blacklist” file, but the modprobe.d man page explicitly states that the configurations must be put in files ending in “.conf” that must be put in the “/etc/modprobe.d/” directory. Which means that a working and future-proof way to disable beep is something like (run as root):

# echo blacklist pcspkr > /etc/modprobe.d/disable-beep.conf
Posted in: Software