RSS



How to turn off the annoying system beep in linux (Debian/Ubuntu)

Wed, Aug 23, 2006

ArsGeek, Linux, Ubuntu

Talk about it in our Forums

ack!

If you’re like me, you start getting real annoyed, real fast at the system beep that insists on beeping far to often. This system beep emits not from your laptop speakers, but from that deep, dank recesses of ancient pc technology that is a little speaker designed only to beep annoyingly. Short of ripping it out, here’s how to disable it.


You can disable this by editing a file and entering two simple lines.

gedit /etc/modprobe.d/blacklist

And then add:

#silly speaker beep
blacklist pcspkr

Save your file and the speaker beep will be gone when you reboot.

If you don’t want to wait until a reboot, simply type:

sudo rmmod pcspkr

Technorati Tags: , ,

Popularity: 25% [?]

Share and Enjoy:
  • Digg
  • del.icio.us
  • MisterWong
  • Reddit
  • Technorati
  • BlinkList
  • Facebook
  • Fark
  • Mixx
  • Slashdot

This post was written by:

arsgeek - who has written 1989 posts on ArsGeek.


Contact the author

113 Comments For This Post

  1. Znurre Says:

    Or you can just oulle the *ucking speaker cable out from your mb :P

  2. arsgeek Says:

    :)

  3. nicolas Says:

    you should keep in mind that this beep can be useful (essential) for some ultimate debugging but personnally, for everday use, i unplugged it.

  4. alvin Says:

    thank for posting this – *very* helpful. system beep was driving me nuts.

  5. arsgeek Says:

    Glad you all are enjoying this article.

    geek out

  6. Ben Says:

    Thank you! Every time my laptop system beep goes off I can hear it echo down the hall…

  7. arsgeek Says:

    Heh… no problem!

  8. kj Says:

    hello arsgeek! do you know how to solve this problem to? On my lap-top, the speakers don’t mute when I plug in my headphones. I get sound on both!

  9. arsgeek Says:

    Hi KJ,

    I’m not sure off the top of my head. What make and model is your laptop?

  10. pjr Says:

    and if the module is compiled to kernel ?

  11. jhc Says:

    I’m having the same problem regarding my laptop speakers not muting when I plug in my headphones. Last week it was fine, but today it doesn’t work.

    My laptop is a Fujitsu Lifebook (N6220) running XP.

    Any help would be appreciated.

  12. arsgeek Says:

    Hey JHC, I’m not sure about XP machines – this tutorial was for linux.

    A quick google seems to show that the system beep can be disabled on the BIOS:

    Miscellaneous
    Configurations
    ___
    When selected, opens the Miscellaneous Configurations submenu to allow you to enable or dis-
    able the power button, power button LED, the Wake Up On LAN feature, system beep, and
    Instant MyMedia. (For systems with Microsoft Windows Media Center Edition installed, the
    [Wake On USB Device] also appears here.

    Check this pdf for more info:

    http://www.fujitsu-pc-asia.com/uguide/bios/winter05/n6220_bios.pdf

  13. yoursavior Says:

    JCH,
    all you need to do is go to your Volume Control,
    go to Switches and check “Headphone Jack Sense”

    If that option is not available in your Switches,
    go to Edit -> Preferences
    to make it available

  14. ventsi Says:

    Great tip This beep was so annoying. Thank you.

  15. mrli Says:

    Thanks ! A very nice addition to HowToGeek article !
    http://www.howtogeek.com/howto/ubuntu/disable-the-system-beep-on-ubuntu-edgy/

  16. Troff Says:

    Thank you. Thank you. Thank you.

    When I got my Dell XPS1710 with XP preinstalled it would beep like it was trying to perform some kind of sonic cleaning and there was No Way to Turn It Off. It would ignore everything. Finally I got it to shut up by disabling the (hidden) beep device.

    Now I’ve installed Ubuntu on it and… GAH! I’m sorry, but what is the #¤% point of waking everyone within a 2 mile radius every time I press tab and there’s no completion? WTF?!

    So thank you again for massively improving my life by giving me the knowledge to undo the unfathombly retarded default setting.

  17. figjam Says:

    Disable the annoying beep or bell on tab-completion, it’s easy:

    Open up the file: /etc/inputrc

    uncomment the following line or just place it in the file
    set bell-style none

    It’s that simple and now all users don’t have to hear the annoying beep anymore

    It is much simpler than buggering about with modules and drivers.
    (this works on Feisty too)

  18. harry Says:

    harry3~/downloads>cat ./nobeepshutdown.sh
    #!/bin/bash
    #to be run as root
    #switch off system speaker and shutdown(halt) after $1 minutes (integer)
    sudo rmmod pcspkr
    sudo shutdown -h +${1:-20}

  19. Derek Says:

    Thanks for this. I hate that damn beep. Firefox was my last holdout.

  20. hkzlsahtia Says:

    Hello! Good Site! Thanks you! aocgogocnsvh

  21. ravi Says:

    if in case we want to turn on how to do it?

  22. PK Says:

    Thank you, you saved my day(s) :-)

  23. Dogmatica Says:

    to turn the beep back on:
    remove “blacklist pcspkr” from /etc/modprobe.d/blacklist

    or modprobe pcspkr

  24. Sarah Says:

    just what I needed, thanks!

  25. Pablo Says:

    Yes, man. Thanks a lot for this hint. I’m egg-zactly the kind that gets “really tired, really fast”, of that annoying stupid beep.

  26. Alain Says:

    Here’s another way to disable the annoying beep…

  27. Alain Says:

    Here’s another way to disable the annoying beep: http://alain.giantdorks.org/quick-tip-turn-off-the-annoying-system-beep-in-ubuntu/

  28. R.Foster Says:

    I LOVE you!!

    Thank you so much for the instructions, learned something valuable and got rid of that god forsaken beep.

  29. arsgeek Says:

    Wow. I er. . . love you too. ;) Glad I could help. This is by far one of the more followed articles on the site.

  30. a3+W6wP?JqR+gx}X Says:

    Thanks, that was VERY annoying when doing searching a page in Iceweasel.

  31. Cory Foy Says:

    WooHoo! Having come over to Ubuntu from Gentoo, it was extremely annoying having that beep, especially because I use tab-completion all the time, and it would beep whenever there was more than one option. Thanks a ton!

  32. Badger Says:

    Thanks, this is a lifesaver during classes! It’s rather embarrassing to have your system start beeping loudly when you are supposed to be paying attention to a lecture.

  33. Val Says:

    This was my #1 annoyance – thanks a ton!

  34. Denis Says:

    To turn off the annoying System Beep in Ubuntu Gutsy Gibbon 7.10.

    Click APPLICATIONS > PREFERENCES > SOUND > SYSTEM BEEP. then uncheck ENABLE SYSTEM BEEP.

  35. ændrük Says:

    Thanks, Denis! That’s a much nicer solution to the problem. Same instructions go for Ubuntu 8.04 as well.

  36. me Says:

    Wow. You’d think no operating system other than Linux ever gave you that “annoying system beep”.

    Psst…kid…it’s a PC thing.

    It’s perfectly okay to be ignorant of things like economics and history, but if you’re going to look this clueless about computers, you might want to write for the New York Times instead.

  37. Andy B. Says:

    I support Linux 100% but I feel that people should make an objective decision for themselves after reading The Truth about Linux.

  38. ctb Says:

    you can also disable it from within Xwindows using “xset b off” this prevents X applications from beeping.

  39. Jepri Says:

    That’s fabulous. I googled for this solution a few years ago and couldn’t find it, so I ended up patching and recompiling my kernel to remove the beep. Patching was clearly the long way around the problem.

  40. Tech blog Says:

    I hardly ever hear that beep! last time I heard it was when I shorted my RAM and the BIOS made the beep sound.

    You shouldn’t disable it, I hardly hear it, its main function is to alert you of critical problems.

  41. Lars Says:

    Thanks for the info. I haven’t tried the blacklisting yet (not rebooted yet), but the “on-demand” method works (Ubuntu 8.04).

    The beep WAS driving me crazy, especially in Vimperator, where is always beeped when it couldn’t match a regex I looked for with /.

  42. Alejandro Says:

    Hello. Thank you so much for bring this kind of useful (beep was about of blow my head off!!!)

  43. Andrew Says:

    Thank you so much. I have been running the Ibex since alpha. Have never had this problem before, but this fixed it nicely.

  44. Kabeer Says:

    Thanks! That really really annoying

  45. Superkikim Says:

    Thank you :-D Great tips. After I just installed Debian…

  46. noisygecko Says:

    Thanks for this tip. I just did a clean install of Ubuntu 8.10 on my laptop and it started beeping again, very loudly, which is annoying in meetings.

    Previously in some version of Ubuntu there was a configuration screen where you could turn off the beep and enable flashing of the window instead. I wish I could find that again, but have wasted too much time on a really stupid problem. If anyone knows how to turn on the flashing, please let me know.

    Thanks again!

  47. Jesse Says:

    Thank you! Firefox can no longer use the system beep every time a ctrl + f search yields no results, and that is VERY good news!

  48. CC Says:

    Thank you so much. Every time I change my GDM login screen, it would beep even when I unchecked it in my sound preferences. This works in Hardy if anyone is wondering.

  49. Lisa Says:

    I’m so thankful to have found how to disable this — thank you for your article. I can’t tell you how many times that damn thing just makes me want to throw my computer across the room — it’s like it just nags you with that sound every time you do something just slightly imperfect. This tutorial is like a nice big fat roll of duct tape! Thanks! :)

  50. adnan Says:

    thanks. its really works. good job keep it up.

  51. rel Says:

    my speaker just scared the crap out of me on a new-ish sidux install.. the damn baby is sleeping and BEEEP.. this is where the google took me so here I am..

    awesome ArsGeek….thanks for this.. your article cracked me up – “deep, dank recesses” f*ckin A. love it.

    geek out yourself,

    rel

  52. Jesse Zylstra Says:

    This works in Ubuntu 8.10! I was so annoyed by the fact that they removed the option from the sound panel, and I just cant have a beeping computer from an accidental backspace on an empty document.

    Thank You!
    - Jesse Zylstra
    http://www.zylstrablog.co.nr

  53. Sky d(-_-)b Says:

    thanks!!! this annoying beep was driving crazy! :)

  54. Michael Says:

    I long for the day when the speaker does not exist. It is too sharp a sound so I have to disable it, though often it is useful.

  55. Sergio Deras Says:

    What a relive, thank you very much for the post I could not hear music without worring about that annoying sound.

  56. borneoubuntu Says:

    can i quote your blog post? and i will surely mentioned that it’s quoted from this post? thank you very much

  57. Thomas Says:

    Thanks a lot!

  58. Aric Says:

    thank you.

    OMFG. That beep would scare the shit out of me, when I would make a mistake or backspace when their was no data in a html form. FUCK. Thank you :D

  59. Will Says:

    This works for my IBM laptop too running Ubuntu. On this the system beep DOES come out of normal speakers (and my out of my earphones when they are plugged in, and this nigh on deafens me!)
    So anymay, I rmmod’d the pcspkr and now I no longer hear the system beep in my earphones or anywhere.

    Thanks for the tip :) (I’ve blacklisted it now too!)

  60. Josh Says:

    Thanks man… mine was going off every time I shut down… but no more!

  61. Shailesh Says:

    Thanks a ton…!

    The beep was driving me crazy…!
    Wasn’t able to auto-complete with my fav tabs..

    Bravo..!

  62. angelblade Says:

    You can change on /etc/inputrc

    set bell-style none (without #)

  63. Grigoriy Says:

    Thanks! You are my hero!

  64. Joshua McGee Says:

    You rock. Thank you.

  65. Tory Says:

    mmmmmmmm quiet paradise.

    Thank You!

  66. Okay Says:

    Oi Oi!

    Thanks a lot! But i got a problem here… I just reinstalled ubuntu(jaunty) and i had the beep disabled before( i don’t know the way, but it was with the blacklist).
    However, wehenever i try to add and save something in the blacklist it says that i’m not allowed to change something! Wich is a bugger! I’m the only user, and i haven’t changed any securitysettings!
    So why can’t i save it?
    Other methods where i have to change something in the console doesn’t seem to work either…

    I’d be glad if someone could provide help!

    okay

  67. Herbert Rusznak Says:

    @Okay:
    try editing the file as root:
    sudo vim /etc/modprobe.d/blacklist
    or
    gksudo gedit /etc/modprobe.d/blacklist

    @arsgeek:
    nice tip, thx ;)

  68. Drahreg13 Says:

    Thanx a lot 4 tha tip!!! :D

  69. Venu Says:

    Superb, this was really helpful. BTW, urs is top goog result man. congrats.

  70. kiranjith Says:

    edit /etc/inputrc
    ———————
    set bell-style none
    ———————

    enjoy !

    Lin u X u niL

  71. deeagle Says:

    Yeah!!!!!

    thx a lot!!!

    I was on the way to go crazy!

  72. Craig Says:

    Wow thanks. The beep just went off a million times during my history lecture and I immediately came here to find out how to turn it off. Thanks!

  73. vaibhav Says:

    Thanks rmmod worked…

  74. Masque Says:

    You are the best

  75. Igor Says:

    What’s money? A man is a success if he gets up in the morning and goes to bed at night and in between does what he wants to do.

  76. Eddie Says:

    This solution doesn’t seem to work in Debian Lenny. I’ve found however that if you blacklist a module called snd_pcsp it has the same effect. Just use ‘snd_pcsp’ instead of ‘pcspkr’. It works for me, but I’m not a Linux guru, so use my solution at your own risk!

  77. Tom Says:

    I love you!
    A big thank from my neighbours too!

  78. David Says:

    You saved my, and my colleauges sanity! Thanks a Lot!

  79. How to Backup Wii Games Says:

    I wish I would have known this before I just ripped the speaker out lol. That sound was starting to get really annoying. Oh well, at least it’s gone now.

  80. linux webcam Says:

    Finally! Never failed to make me jump :) Thank you…

  81. Kevin Says:

    Thank you, I’ve turned it off finally cause it was very annoying. Now my ubuntu works better.

  82. trisha harris Says:

    “And there is also an annoying beep sound on Vista! I really hate new versions, either they are not user friendly and they have somethings that are really frustrating. They should know that they should not fix it if ain’t broken!

  83. Jonathan Says:

    Simple yet powerful! Thanks for sharing this tip :)

  84. packers and movers chennai Says:

    i am frequently roaming all over the world-wide-web roughly all of the nighttime thus I posses a inclination to look over quite a large amount, which isnt typically a advantageous factor as some of the websites I view are made up of useless absurdity ripped from the same web pages a zillion times, but I’ll hand it to you this web page is definitely half decent and even possesses a large amount of legitimate content, for that cause many many thanks for smashing the pattern of entirely replicating other persons sites.

  85. David Says:

    Thanks, to be frank I don’t really understand why my notebook beeps is it due to overheating or what but it really drives me crazy.

  86. optimization engine search Says:

    Or you can just oulle the *ucking speaker cable out from your mb

  87. shipping car Says:

    I’m so thankful to have found how to disable this — thank you for your article. I can’t tell you how many times that damn thing just makes me want to throw my computer across the room — it’s like it just nags you with that sound every time you do something just slightly imperfect. This tutorial is like a nice big fat roll of duct tape! Thanks!

  88. shipping car Says:

    When I got my Dell XPS1710 with XP preinstalled it would beep like it was trying to perform some kind of sonic cleaning and there was No Way to Turn It Off. It would ignore everything. Finally I got it to shut up by disabling the (hidden) beep device.

  89. Small payday loan application Says:

    Thanks for recommending these useful steps to us. Well, it is very easy to disable the annoying beep or bell on tab-completion.

  90. san francisco movers Says:

    you should keep in mind that this beep can be useful (essential) for some ultimate debugging but personnally, for everday use, i unplugged it.

  91. gps fleet Says:

    Solution you have provided regarding the problem is quite impressive and it would be really works out for me..

  92. investment properties Says:

    I prefer to unplug… Like the other poster said it can be essential when performing other tasks.

  93. malayalam movies Says:

    Just unplug the internal speaker in the chasis and problem solved.

  94. MarkyHog Says:

    Yesterday, while I was at work, my cousin stole my iphone and tested to see if it can survive a twenty five foot drop, just so she can be a youtube sensation. My apple ipad is now broken and she has 83 views. I know this is totally off topic but I had to share it with someone!

  95. Back support Says:

    Thanks for sharing this. But disabling system beep is not always good. We need to be alarmed when system is getting errors.

  96. Timmy Hysong Says:

    Should you be even so at the kennel area: obtain your earphones, start as small as some Preferred Pay for and enquire of towards connector these products right Zune therefore a particular apple ipod and pay attention to the one does seem preferable to most people, not to mention of which user interface making you be happy further. Therefore you are likely to discover and that is right for most people.

  97. r4i Says:

    Every time I am finding this blog.
    Great post. Please write more and more about this.
    I had never see a blog better than this one.
    Thank you for your post.

  98. Chris Says:

    Still useful after all these years :) Thanks for saving my sanity (and that of my office-mates)!

    Chris.

  99. Joss Says:

    I still don’t know how to operate . someone help me!!!

  100. fake jewelry Says:

    Always with the comfort of Head Porter from the beginning of custom made contracted style, and at the same time in the details and fabric enhanced.

  101. Designer handbags fake Says:

    Big hot python grain design to match the colour like the rainbow on line, is very exciting.

  102. installment loans Says:

    This system beep emits not from your laptop speakers, but from that deep, dank recesses of ancient pc technology that is a little speaker designed only to beep annoyingly. Short of ripping it out, here’s how to disable it.

  103. fake coach purses Says:

    TOD ‘S to leather is famous, the launch of the brown bag style is concise, is the basic money to match easily.

  104. coach diaper bags Says:

    iends and put on a dress the confrontation, wherever there are countless the eye of love will follow, in the street, lovely you maybe will meet your Mr Right.

  105. replica belts Says:

    Is about to release some new design t-shirts, continued the beach style of the design, and the most famous “dollars” monogram pattern. In addition to these single product besides, still can have the same series of tannin trousers and a hat.

  106. Mary Brooks Says:

    Hello very cool site!! Man .. Beautiful .. Superb .. I will bookmark your blog and take the feeds also?I am satisfied to search out numerous useful information here within the publish, we need develop more strategies in this regard, thank you for sharing. . . . . .

  107. Laurence DV Says:

    You just saved my ears, I got really too efficient headphone and everytime I rebooted my laptop I was getting literally attacked by this >< beep.

    Thanks you so much!

  108. Cheap Movers in West Palm Beach Says:

    I’m very thankful to have read this post, now I know what to do.

  109. Cheap Movers in West Palm Beach Says:

    Thanks

  110. zman58 Says:

    I tried the blacklist pcspkr, it did not work becauase that module is not even loaded on my laptop. The annoying beep remained. I tried a few other things also with no success.

    On 2012-02-12 with the latest Linux Mint Debian Edition LMDE this is the only thing that I found to work to get the pc speaker from beeping. Quoting from user Figjam above,

    “Open up the file: /etc/inputrc

    uncomment the following line or just place it in the file
    set bell-style none

    It’s that simple and now all users don’t have to hear the annoying beep anymore

    It is much simpler than buggering about with modules and drivers.”

    Thanks Figjam! This inputrc modification worked perfectly. No more loud annoying BEEP on my system!

  111. zman58 Says:

    Linux Mint Debian Edition 64-bit gnome desktop on 2012-02-12 fully updated system. Silencing the noisy BEEP on my laptop….

    In addition to Figjam’s solution I also had to mute the beep in the gnome desktop. Like so:

    Control Center – Hardware (section) – Sound (icon)

    …This brings up the mixer which includes volume controls and some other items for audio input and output..

    In the Sound mixer “Playback” tab, select “Preferences” and add in the “Beep” device. Then check the little speaker on the bottom of the “Beep” slider to mute the Beep. Now you will no longer have the annoying beep as you use the desktop (Gnome). This also removes the beep from the Gnome Greeter (the login screen).

    If you follow Figjams post and my earlier post (same info) you will prevent beeping when you run a full screen terminal session (such as when you use Ctrl-Alt-F1), which I occasionally do. That solution does not silent the beep while you are running the Gnome desktop.

    That sums it up for raw terminal and also for gnome desktop. Again this is with respect to silencing the noisy BEEP in Linux Mint Debian Edition 64-bit.

  112. Aegidius Says:

    More than 5 years after it was written, this article is still saving laptops from being thrown against the wall. Thank you.

  113. Movers San Jose Says:

    This is so irritating Good that I’ve found the answer thanks to the author.

8 Trackbacks For This Post

  1. ArsGeek - Free your inner geek » Three More Windows Vista Registry Hacks - Shutdown, System Beep and the Windows Key Says:

    [...] If you’re interested in doing this in Ubuntu/Debian, see this article. [...]

  2. links for 2007-03-25 at It tastes like burning Says:

    [...] ArsGeek – » How to turn off the annoying system beep in linux (Debian/Ubuntu) (tags: linux ubuntu beep tips disable howto) [...]

  3. Finding the right search queries « Learning in Linux Says:

    [...] what my search history now tells me I looked up then. It also tells me that I clicked through to ArsGeek’s item about it. Can you believe it? Another proponent of the “blacklist your pcspkr [...]

  4. ??????? » Blog Archive » ????????? ???? Says:

    [...] ???????, ????????? ???? ? Ubuntu ????? ?????????? ? ??????????: ???????/?????????/????/????????? ??????. ??????, ????? ???????? ????????? ?? ????????. ?????????, ???? ? ????????? ?????? ??? ??? ??????????? ????? ????? ????????? ?????? ? ?????? ??????? ? ????????? ???? ???????, ??????? ????? ?????? ????????? ???? ? ????????? ???????? ??????. ????? ????? ????? ? ??????? ??????? ??? ???. [...]

  5. Deshabilitar pitido de sistema en Linux Debian / Ubuntu » rm-rf.es Says:

    [...] Fuente en inglés | http://www.arsgeek.com [...]

  6. iRatOnline » Permanent Link to How to turn off the annoying system beep in Linux Says:

    [...] Ref: http://www.arsgeek.com/2006/08/23/how-to-turn-off-the-annoying-system-beep-in-linux-debianubuntu [...]

  7. Disabling the PC Speaker Beep | The Linux Experiment Says:

    [...] little tutorial on how to disable the PC speaker by editing the /etc/modprobe.d/blacklist file. Check it out here, and lose that awful beep until the next time that you’re forced to use the Unix lab at [...]

  8. Ubuntu????Beep?? « ???? Blog Says:

    [...] ???????????????? http://www.arsgeek.com/2006/08/23/how-to-turn-off-the-annoying-system-beep-in-linux-debianubuntu/#co... [...]

Leave a Reply