Skip to content

Instantly share code, notes, and snippets.

@brunneis
Last active February 5, 2018 08:03
Show Gist options
  • Save brunneis/057afe8ef5a9a87781ecc17bdb2f4f8a to your computer and use it in GitHub Desktop.
Save brunneis/057afe8ef5a9a87781ecc17bdb2f4f8a to your computer and use it in GitHub Desktop.
Disable motherboard's speaker sound (beep)
#!/bin/bash
# Temporary fix
sudo rmmod -v pcspkr
# Permanent fix
echo "blacklist pcspkr" >> /etc/modprobe.d/blacklist.conf
update-initramfs -u
# reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment