Skip to content

Instantly share code, notes, and snippets.

@geekoff7
Last active December 6, 2018 08:51
Show Gist options
  • Save geekoff7/0e315d317bac115fc830804540fa7447 to your computer and use it in GitHub Desktop.
Save geekoff7/0e315d317bac115fc830804540fa7447 to your computer and use it in GitHub Desktop.
remove speaker mod
sudo modprobe -r pcspkr
If you want to remove it permanently, you gotta tell modprobe to never load this module.
In the console, type this : (replace nano with your favorite text editor)
Code:
sudo nano /etc/modprobe.d/blacklist
scroll down to the bottom of the document, and add this :
# this is how you mute annoying beeps in console and shutdown
blacklist pcspkr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment