beep snippets

Disable pc speaker beep in Linux

Tagged pc speaker, linux, quiet, disable, audio, beep  Languages bash

Not really a snippet, still a good fix for a big annoyance. Temporarily disable the speaker by removing the driver for it.

sudo rmmod pcspkr

To make the silence more permanent add this line into /etc/modprob.d/blacklist

blacklist pcspkr