Tip Details

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 – 9 total Votes
I Like this Tip I Don't Like this Tip
Categories: ubuntu Computers
Added: on Jul 19, 2007
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
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
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
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
Your Comment:
(how to format)
Keywords:
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

Sony Memory Stick

100% positive, 0 comments
– Tip added by kamalk4 on Jan 24, 2012

Installing Ubuntu in Parallels on Max OS X

no ratings, 0 comments
– Tip added by an anonymous user on May 02, 2007

Turn off the screensaver lock in Ubuntu

100% positive, 0 comments
– Tip added by an anonymous user on Mar 27, 2011

Add icons to the System menu in Ubuntu

100% positive, 0 comments
– Tip added by an anonymous user on Sep 29, 2010

AVI to FLV on Mac - How to convert AVI to FLV on Mac with Mac Converter AVI to FLV?

100% positive, 0 comments
– Tip added by an anonymous user on Nov 09, 2011

Dragon Medical and Dragon NaturallySpeaking

100% positive, 0 comments
– Tip added by aleazus on Oct 15, 2010

Disable the start-up sound in Ubuntu

Categories: ubuntu sounds startup Gnome
50% positive, 1 comment - last added on Aug 15, 2011
– Tip added by an anonymous user on Jul 29, 2010

Get rid of the shutdown delay in Ubuntu

100% positive, 0 comments
– Tip added by an anonymous user on Jun 06, 2010

How to Sign Documents Electronically

Categories: software computers
no ratings, 0 comments
– Tip added by aasia on Mar 23, 2012

How To Search For the Best Ebook Reader That Fits You

Categories: software computers
no ratings, 0 comments
– Tip added by aasia on Mar 15, 2012

3 Tools to Create Quizzes Online

Categories: software computers
no ratings, 0 comments
– Tip added by aasia on Mar 14, 2012

General way for you to convert pdf to epub fotmat

Categories: computers software
no ratings, 0 comments
– Tip added by aasia on Mar 08, 2012

3 Ways to Create OnliCreate Online Test

Categories: software computers
no ratings, 0 comments
– Tip added by aasia on Mar 07, 2012

How To Create A DVD Slideshow On A Mac

Categories: software computers
no ratings, 0 comments
– Tip added by aasia on Mar 06, 2012

Download Free MakeUseOf Guides and Tutorials

no ratings, 0 comments
– Tip added by an anonymous user on Jul 08, 2011

Cleaning a dusty computer

no ratings, 0 comments
– Tip added by an anonymous user on Apr 19, 2011

Disable the recent documents functionality in Ubuntu

no ratings, 0 comments
– Tip added by an anonymous user on Nov 17, 2010

Set another browser as the default in Ubuntu

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

Change the default editor in Ubuntu

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

Find network info in Ubuntu

0% positive, 0 comments
– Tip added by an anonymous user on May 16, 2010