Wednesday, August 12, 2009

Disable PC Speaker in Linux

Just a minor annoyance. The PC speaker "beep" on my laptop is annoyingly loud. I always disable it after I install Linux.

Either via sudo or as root:

Using your favorite text editor, edit /etc/modprobe.d/blacklist and add the following line to the file:

blacklist pcspkr

Save and Exit.

It will be disabled on your next reboot. In the meantime, you can 'rmmod pcspkr' to disable it immediately.

No comments:

Post a Comment