SEARCH

How-To Geek

Disable the System Beep on Ubuntu Edgy

I dislike the system beep on any computer, anywhere, anytime. Here’s how to turn it off in Ubuntu.

 

Go to System \ Preferences \ Sound and click the System Beep tab. 

Uncheck the box, and hit close. Easy as that!

Comments (14)

  1. mrli

    I think this only disables the annoying beep within Gnome, but how can I also disable it in all(Ctrl+Alt+F1(~6)) terminals altogether ?

  2. davg

    yeah, that’s what I want to know

  3. The Geek

    @arsgeek

    Good article.

  4. ADC

    Thank YOU! It was driving me crazy..

  5. pasted from somewhere else

    sudo rmmod pcspkr

    The place to blacklist modules is /etc/modprobe.d/blacklist, so open and edit this file and add at the end of the file:

    blacklist pcspkr

    That’s it, no more beep beep beeep going around.

    Hope this will help handle your virtual console in a greater way ;)

  6. Colin

    I think this only disables the annoying beep within Gnome, but how can I also disable it in all(Ctrl+Alt+F1(~6)) terminals altogether ?

    Add “setterm -bfreq 0″ to your ~/.profile or /etc/profile.

  7. asdf

    sudo rmmod pcspkr
    blacklist pcspkr

    \o/

  8. Owen

    mrli – best to leave it enabled outside Gnome, unfortunately, as particular combinations of system beeps can actually be trying to tell you what the problem is when your computer is *seriously* broken.

  9. NeptuneRX

    Thanks for this post, that blasted beep has caused more problems for me then I have time to tell.

  10. Simon Shine

    As “asdf” points out, to properly disable the pc speaker throughout the system in Ubuntu:

    Edit /etc/modprobe.d/blacklist and add a line, “blacklist pcspkr”

    Going “sudo rmmod pcspkr” after every boot is bothersome.

  11. stopka2top

    It`s work on Debian Lenny 5.0
    modprobe -l |grep pcsp
    lsmod | grep pcsp
    Add in file /etc/modprobe.d/blacklist founded variables
    for examlpe
    blacklist pcspkr
    blacklist snd_pcsp

  12. haile

    damn that was great. i hate beeping sound

  13. zigzag

    Colin’s suggestion with …
    “Add “setterm -bfreq 0″ to your ~/.profile or /etc/profile.”

    Works best! Works on most linux distros (that i’ve tried).

  14. Tarot

    Buen blog, buen post, documentado y bien escrito, un gusto leerlo. Ademàs con informaciòn

    muy ùtil. Gracias.

Programmer by day, geek by night, The Geek, also known as Lowell Heddings, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 12/24/06

RECOMMENDED POSTS