Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

up vote 7 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
4  
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 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

 
discard

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.