The fastest way to disable PC speaker in Ubuntu

Ubuntu (featured logo)

ubuntu logoThere are several ways to disable usually noisy PC speaker in Ubuntu Linux (this is what beeps every time you wish to keep silent). The fastest one is just to unload its kernel module/driver:

sudo modprobe -r pcspkr

Add the the line “blacklist pcspkr” to /etc/modprobe.d/blacklist to turn off the speaker forever 🙂

Information improvisation: Unlike scam http:///101-01.htm dumps and training program, our best and online training courses provide you quick success in first try of icnd Best Wishes.


Stefan Durand

My name is Stefan, I'm the admin of LinuxScrew. I am a full-time Linux/Unix sysadmin, a hobby Python programmer, and a part-time blogger. I post useful guides, tips, and tutorials on common Linux and Programming issues. Feel free to reach out in the comment section.

4 thoughts on “The fastest way to disable PC speaker in Ubuntu”

  1. What, in case where hardware problem occurs? To diagnose a problem we using beep sequence depending on BIOS. Those disabled speaker not supporting such a diagnose?

  2. Awesome tip, this is one of the first things I do now on a new install.
    Newbies might get thrown off by the missing .conf. Here’s the command line method of opening the blacklist.conf file:
    gksudo gedit /etc/modprobe.d/blacklist.conf

Leave a Reply

Your email address will not be published. Required fields are marked *