Tip Details Add a Related Tip

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

How to take care of the Amazon Kindle 2 battery

85% positive, 4 comments - last added 19 hours, 59 minutes ago
– Tip added by ferfer 6 days, 17 hours ago

Getting the mouse working in an Ubuntu Virtualbox

83% positive, 3 comments - last added on May 17, 2009 at 1:59 am
– Tip added by an anonymous user on Feb 06, 2009 at 11:47 am

Put a trash icon on the Ubuntu desktop

Categories: ubuntu desktop
100% positive, 0 comments
– Tip added by an anonymous user on Jan 15, 2009 at 9:23 am

Useful Amazon Kindle DX shortcuts

100% positive, 1 comment - last added 19 hours, 56 minutes ago
– Tip added by ferfer 2 days, 14 hours ago

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

Disable notifications in Ubuntu Jaunty

100% positive, 3 comments - last added on Aug 12, 2009 at 7:50 am
– Tip added by an anonymous user on Apr 26, 2009 at 7:47 am

Restarting X Server in Ubuntu

100% 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

Enabling the configuration editor in Ubuntu

Categories: Ubuntu Gnome desktop
100% positive, 0 comments
– Tip added by an anonymous user on Jan 12, 2009 at 9:03 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

How to buy a good keyboard

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

Three Ways to Turn Your Computer Components Green

Categories: Computers tips
100% positive, 0 comments
– Tip added by afia_industrymart on Feb 19, 2009 at 12:20 am

Free version of Ubuntu Pocket Guide and Reference

Categories: Ubuntu books free
100% positive, 0 comments
– Tip added by an anonymous user on Jan 28, 2009 at 8:35 am

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

Connecting an iPhone to Linux

Categories: iPhone iPod Touch ubuntu
no ratings, 0 comments
– Tip added by an anonymous user on Mar 06, 2009 at 3:08 pm

Delete files immediately in Ubuntu

Categories: ubuntu files
no ratings, 0 comments
– Tip added by an anonymous user on Feb 12, 2009 at 3:31 pm