Remove, turn off, or disable the system beep in ubuntu

The system beep on my laptop is really loud and it’s embarrassing when it goes off in a public place. To permanently disable it, you need to add a line line to /etc/modprobe.d/blacklist.

echo "blacklist pcspkr" | sudo tee -a /etc/modprobe.d/blacklist

When you reboot your computer the system beep should be disabled everywhere. If you don’t want to reboot your computer right now you can just run:

sudo modprobe -r pcspkr

32 Responses to “Remove, turn off, or disable the system beep in ubuntu”

  1. supreme Says:

    Thanks for this info. Now I can use console everywhere without be scared if it sounds :P

  2. Tod Says:

    Thanks man, this ‘beep’ has been bugging me from some time now.

  3. xm Says:

    Thanx!!!!! now i can work at night :)

  4. Erigami Says:

    Is it possible to replace the system beep with a sound from the soundcard, like a nice .wav of the user’s choosing?

  5. Damir Says:

    Thank you :)

    It feels so quiet now… too quiet… Like the last time when zombies came and ate my neighbours…

  6. Marco Says:

    Thanks a lot, the beep was rather annoying…….

  7. MrWonders Says:

    You Linux guys…Why do you have to do everything so difficult:

    System → Preferences → Sounds → System Beep

  8. jim Says:

    I’m running Kubuntu and don’t have System -> preferences.

    The rmmod didn’t seem to “take” but I did find that changing “Konsole” would also affect the beeps I was getting using vim:

    select Settings -> Bell -> None.

  9. Andy.mac Says:

    Brilliant – I was getting sick of the annoying beep in airports planes and trains (anywhere really). I’m sure everyone else was too by the evil stares I was getting…

  10. Enigma Tres » Elimina los pitidos de sistema en Ubuntu Says:

    [...] Guarda el archivo, cierra el editor, y la próxima vez que reinicies el altavoz del sistema estará desactivado. Via http://strabes.wordpress.com/ [...]

  11. Din de Valhalla Says:

    Thanks man, this was really useful. That beep is rather annoying and more when you’re right in the middle of a class and it suddenly sounds. Thanks again

  12. lucas luky Says:

    if you’re just looking after how to disable the TERMINAL BEEP:
    http://www.linuxtopia.org/online_books/linux_beginner_books/unofficial_ubuntu_starter_guide/index_149.html

  13. dai Says:

    Thanks!

    I was working in office with ubuntu; and was having too many beeps due to nature of my program.

    Now it is peace!!!

  14. Braden Says:

    Another thanks on behalf of my classmates and coworkers.

  15. Matti Says:

    Thanks, I was losing my mental healt because of the stupid beeping!

  16. Sahand Says:

    You should have been presented a nobel peace prize for this :p

  17. Menghilangkan bunyi “beep” Says:

    [...] Sumber : http://strabes.wordpress.com/2006/10/16/remove-the-system-beep-in-ubuntu/ [...]

  18. joquerbr Says:

    Fantastic. Thanks a lot !!!

  19. Chris Norris Says:

    Thanks a million for this tip. Now I can use the terminal at night without making my gf jump!

  20. Roy S Says:

    Wonderful!!!! i was on the way to take off that speaker to may PC. (y)

  21. thank you Says:

    thx alot, easy and simple :p

  22. anonymous coward Says:

    Thanks!

  23. Mathias Says:

    One word – wonderful!

    cheers!

  24. Finally Says:

    Took care of it, so much nicer :)

  25. Matheus Says:

    Hey! =D That’s pretty handy! Thanks a lot!

  26. noah Says:

    is there any way to enable it after disabling it?

  27. Kyle Says:

    remove blacklist pcspkr from /etc/modprobe.d/blacklist
    the modprobe -a pcspkr, or reboot

  28. JK Says:

    Thanks mate, really usefull!

  29. prik Says:

    You saved my life! Thank you so much! *cries in happiness*

  30. IronX.net » Blog Archive » Disabilitare il Beep dello speaker del case in Ubuntu Says:

    [...] fonte: http://strabes.wordpress.com/2006/10/16/remove-the-system-beep-in-ubuntu/ [...]

  31. atr Says:

    You rock! Thanks for this.

  32. Lx Says:

    NB: For Ubuntu 9.04++, consider the /etc/modprobe.d/blacklist.conf file instead of /etc/modprobe.d/blacklist

Leave a Reply