I got annoyed with the system beep of Linux Mint Debian Edition when I login or logout. I have found some solutions like:
echo "blacklist pcspkr" | sudo tee -a /etc/modprobe.d/blacklist
but it didn't work for me. How can I turn off the beep?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityWell, the easiest is to set setterm -blength
, It'll set the beep length to 0.
when it's about X, then I'd advice xset b off
, it'll disable the beep in X.
snd_pcsp
as well...snd_pcsp
, but it still doesn't work.modprobe.blacklist=pcspkr
in the kernel boot parameters. First, dolsmod | grep pcspkr
and check if it returns anything. If it doesn't, then it's not built as a module; if it does and blacklisting does remove it from the list, then maybe the beep is not made through the system speaker?snd_pcsp
is a completely different thing, you want to blacklistpcspkr
, which is what provides you the usual beep speaker; I thinksnd_pcsp
is a driver to use that speaker as you would use external speakers (play mp3s, etc); if I am correct, disabling it won't disable the usual beep at all, because it's a separate driver.