Disable pc speaker

From Cosmin's Wiki

Jump to: navigation, search

Home > Linux Desktop tips > Disable pc speaker

Once you have freshly installed your Ubuntu 9.04 box and you open a terminal window, you will soon find the beep comping out of your computer speaker quite annoying. To get rid of this, you have 2 options:

The temporary solution

> modprobe -r pcspkr

However, after rebooting the beeping will be back.

The permanent solution

Edit the file /etc/modprobe.d/blacklist.conf and add at the end:

blacklist pcspkr