Tip Details

Rate as: Positive Negative

Turn off the system beep in Ubuntu

If you are using Ubuntu and want to permanently disable the warning beep (I hate that thing when I have my headphones on), you can do so by editing your /etc/rc.local file. Open the file in your editor of choice and go all the way to the bottom of the file. At the bottom there should be a line which reads exit 0. Add a new line directly above this one and put this on that line: modprobe -r pcspkr. Save the file and this will turn off the system beep. If you want to turn the system beep back on, just edit this file again and remove the line that was added.
Rating: 100% positive, 8 total Votes
Categories: ubuntu Computers
Added: on Jul 19, 2007 at 2:05 pm
Added By: grrreat!
Searches: ubuntu beep file turn line

Comments on this Tip

Add a Comment
I suppose removing the module would work, but I doubt it would be persistent. If you want to remove the program, type this:

sudo apt-get remove beep

That should disable the beep permanently (until you reinstall beep)
– Added by an anonymous user on Feb 19, 2008 at 5:21 pm
No, the original poster is correct that the module is the root cause of the beep. beep is just a program that triggers beeps (not the only one). For example, FF3 beeps, but removing the module stops it. Good tip!
– Added by an anonymous user on Oct 12, 2008 at 9:47 pm
This kinda seems like a backwards way of doing it. Why not make it so the module doesn't get loaded at all? Just add these two lines to /etc/modprobe.d/blacklist:

# Mute CPU speaker
blacklist pcspkr

Otherwise, good info.
– Added by an anonymous user on Dec 29, 2008 at 1:40 am
After months of dealing with this, your solution finally worked for me, grrreat! Thanks for the tip manm!
– Added by an anonymous user on Sep 03, 2009 at 7:46 am
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

Installing Ubuntu in Parallels on Max OS X

no ratings, 0 comments
– Tip added by an anonymous user on May 02, 2007 at 10:17 am

Useful Amazon Kindle DX shortcuts

95% positive, 6 comments - last added on Dec 03, 2009 at 12:06 pm
– Tip added by ferfer on Nov 19, 2009 at 11:37 am

How to take care of the Amazon Kindle 2 battery

95% positive, 8 comments - last added on Nov 30, 2009 at 2:39 pm
– Tip added by ferfer on Nov 15, 2009 at 8:31 am

Restarting X Server in Ubuntu

87% positive, 1 comment - last added on Nov 06, 2009 at 10:11 pm
– Tip added by an anonymous user on Oct 24, 2009 at 6:42 am

Skip the shutdown delay in Ubuntu Jaunty Jackalope

100% positive, 1 comment - last added on Aug 04, 2009 at 10:18 am
– Tip added by an anonymous user on Jun 22, 2009 at 7:26 am

How to buy a good keyboard

100% positive, 0 comments
– Tip added by erlik on Jun 06, 2009 at 5:49 am

Turn off tooltips in Ubuntu

100% positive, 1 comment - last added on Apr 30, 2010 at 1:22 pm
– Tip added by an anonymous user on Feb 13, 2010 at 7:48 am

Refurbished Macbooks - Where and how to get 'em

100% positive, 0 comments
– Tip added by an anonymous user on Aug 31, 2009 at 12:33 pm

Open My Computer more quickly

Categories: Windows speed computers
100% positive, 0 comments
– Tip added by an anonymous user on Aug 13, 2009 at 7:01 pm

Where to watch Michael Jackson Memorial Service live on web?

100% positive, 1 comment - last added on Jul 07, 2009 at 11:53 am
– Tip added by nancy0903 on Jul 07, 2009 at 5:49 am

Disable the start-up sound in Ubuntu

Categories: ubuntu sounds startup Gnome
no ratings, 0 comments
– Tip added by an anonymous user on Jul 29, 2010 at 8:41 am

Set another browser as the default in Ubuntu

no ratings, 0 comments
– Tip added by an anonymous user on Jun 27, 2010 at 9:53 am

Change the default editor in Ubuntu

no ratings, 0 comments
– Tip added by an anonymous user on Jun 10, 2010 at 10:27 am

Get rid of the shutdown delay in Ubuntu

no ratings, 0 comments
– Tip added by an anonymous user on Jun 06, 2010 at 9:13 am

Find network info in Ubuntu

no ratings, 0 comments
– Tip added by an anonymous user on May 16, 2010 at 7:11 am

Moving the window menu buttons in Ubuntu 10.04

no ratings, 0 comments
– Tip added by an anonymous user on Mar 25, 2010 at 7:58 am

Silence vibrating equipment

no ratings, 0 comments
– Tip added by an anonymous user on Jan 26, 2010 at 2:47 pm

Bad Proxy

Categories: bypass Computers web proxy
0% positive, 1 comment - last added on Jan 28, 2010 at 7:41 am
– Tip added by an anonymous user on Dec 12, 2009 at 11:33 pm

Disabling Pigin Notifications

no ratings, 0 comments
– Tip added by an anonymous user on Aug 13, 2009 at 12:33 pm

Cleaning up new PCs

no ratings, 0 comments
– Tip added by an anonymous user on May 03, 2009 at 10:04 am