Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 8 down vote accepted

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)

share|improve this answer
That's not going to help; all it does is tell certain applications (such as the shell) that you do not want them to beep. It won't effect other users, and it wouldn't really do anything in the case of non-local logins anyway: their terminal bell is on their terminal, not the console. – SamB Sep 29 '10 at 21:43
Please read the question and my answer: He isn't root and wants to do it for his user account and that it only helps in the local shell is explicitly stated in my answer. – fschmitt Sep 30 '10 at 6:58
Mind the gap: existing ~/.inputrc overrides /etc/inputrc, which can have defined some interesting things. For example on Debian this can break Ctrl+Left/Right for words and/or some Rxvt-specific bindings--See this question. – Alois Mahdal Jan 6 '14 at 22:11

Have you already unchecked "Enable system beep" in System -> Preferences -> Sound -> System Beep?

share|improve this answer
This assumes some desktop environment? GNOME? – Tshepang Nov 24 '13 at 22:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.