Tuesday 31 March 2009

Tip of the Day: Get Rid of the Annoying System Beep in Ubuntu

If you don't like the PC speaker (also known as system beep), you can easily disable it:

sudo modprobe -r pcspkr

Next, edit the /etc/modprobe.d/blacklist file (if it does not exist, create it):

sudo nano /etc/modprobe.d/blacklist

(Or you can issue gksudo gedit /etc/modprobe.d/blacklist or kdesu kate /etc/modprobe.d/blacklist for a graphical text editor - the first one for GNOME, which is the default desktop environment in Ubuntu, and the second for KDE, which is the default in Kubuntu.)

And add the following line:

blacklist pcspkr

The first command, sudo modprobe -r pcspkr will remove the pcspkr module from the kernel, so the beeps will stop immediately after issuing this command. The line blacklist pcspkr will prevent the kernel from loading this particular module when the computer boots up.

Now, the PC speaker functionality is disabled not only in the desktop environment, but also when in command-line.

2 comments:

Make Money Online said...

Hello,I would like to propose a link exchange between your site and my blog,my blog is about make money blogging,web2.0.Can we exchange links?I have add your links in my blog.Thank you.my blog is http://www.bloggerearn.com

Craciun Dan said...

Unfortunately no, since we are not in the same niche (your blog being about making money and this one about Linux, a link for making money on a Linux-dedicated blog wouldn't be quite appropriate). Thanks for the proposal, anyway, and good luck finding blogs in the same niche as you are for link exchanges.