Monday, 20 October 2008

How to turn off linux system beeps

If like me it annoys you when your using your pc late at night and always get the system beeps from your pc speaker on the front of your tower (not your actual sound speakers) like when you press delete on the terminal and theres no letters to delete your pc wakes half the house up with the little beep noise then heres how you can turn it off.

Open up the terminal and enter;

$ sudo gedit /etc/modprobe.d/blacklist

add the following line at the bottom of the file;

#Annoying speaker beep
blacklist pcspkr

then save and reboot your pc and the beeps have gone :)

Alternatively if you dont want to reboot you can execute the following command in the terminal;

$ sudo rmmod pcspkr

and your done, no more annoying beep but if you do want the beep back again for some reason then just remove the line

#Annoying speaker beep
blacklist pcspkr

from your /etc/modprobe.d/blacklist file :/