3

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?

6
  • You may need to blacklist snd_pcsp as well...
    – jasonwryan
    Nov 16, 2012 at 6:14
  • I tried to add blacklist snd_pcsp, but it still doesn't work.
    – Kesco
    Nov 16, 2012 at 15:26
  • For that to work, your speaker driver has to be built as a module; here I disable it with modprobe.blacklist=pcspkr in the kernel boot parameters. First, do lsmod | 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?
    – njsg
    Nov 16, 2012 at 15:59
  • And I think snd_pcsp is a completely different thing, you want to blacklist pcspkr, which is what provides you the usual beep speaker; I think snd_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.
    – njsg
    Nov 16, 2012 at 16:12
  • 1
    From all the tutorials I've found, this is the only one that worked for me: community.linuxmint.com/tutorial/view/1116
    – tsusanka
    Apr 26, 2013 at 8:53

1 Answer 1

5

Well, 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.

2
  • The setterm -blength turn off the terminal beep, not the system beep.
    – Kesco
    Nov 16, 2012 at 15:28
  • And I often login by mdm.
    – Kesco
    Nov 16, 2012 at 15:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .