How to Disable System Beep for Non-Privileged Users in Linux

audiolinux

How to disable system beep on Linux? I don't have superuser powers so I cannot recompile kernel/unload module.

Best Answer

For beeps generated in your shell (which seem to be the most annoying ones), add this to "~/.inputrc":

set bell-style none

Note that this is not terminal- but host-specific. That means that when you log in to another computer via ssh where this isn't set, the beep is back. (I tested on Fedora)