Beep Off!

Linux’ beep is much too loud. This is very annoying. I haven’t found a way to turn down the sound. But here is a way to completely switch the beep off (at least on debian):

cat > /etc/modprobe.d/pcspkr-blacklist.conf << EOF
# beep off you beep beep beep!!!
blacklist pcspkr

Also just remove the kernel module to get the same effect without reboot:

rmmod pcspkr

Aaah, much better now :)