Disable beep on Linux TTY

Created at 2024-10-11 22:39
Last edited at 2024-10-12 09:49

List loaded kernel modules

lsmod

Unload the pcspkr and snd_pcsp kernel modules

sudo modprobe --remove pcspkr snd_pcsp

Permanently disable loading the modules

/etc/modprobe.d/nobeep.conf:

blacklist pcspkr
blacklist snd_pcsp