Linux For Cynics One user's experiences with Linux

13Mar/130

Disable PC Speaker Beep

This will work in Ubuntu, Debian, Arch, or pretty much any other distro. The PC speaker can be disabled by unloading the pcspkr kernel module like so:

sudo rmmod pcspkr

To make this permanent, blacklist the pcspkr module by adding this line:

blacklist pcspkr

to a file in /etc/modprobe.d/. Name the file something that ends with ".conf". This is how I did it:

su
echo "blacklist pcspkr" > /etc/modprobe.d/nobeep.conf

You're notice pcspkr is blacklisted by default in Ubuntu. Here's a line from /etc/modprobe.b/blacklist.conf in 12.10:

# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr

I agree! It is an ugly noise that gets on my nerves. Be gone!

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.