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 :/

2 comments:

Manuel said...

hey men really helpful !!!! =] definitly is really annoying that BEEP! when u turnoff or reboot.. lol thnx so much ;)!!

brentoboy said...

I have actually busted open cases and removed the PC speaker just to get it to shut up before... but this laptop is a work laptop, so I didn't want to "damage" it.

This is being added to my "customize ubuntu" script that I run after a fresh installation, thanks.