Windows DatabaseebooksStatistical Information

LLE10090 : Howto deactivate the bell or beep under linux

Symptom:

You are nerved by the beeping of your system by every error you make

Cause:

This is by design

Solution:

First thing you need to know is where to deactivate the bell / beep. As you might have found out, there are a lot of possible reactions your system can produce and these depend on the shell, the editor or even the desktop you are using.

To deactivate the bell under bash you can try the following:

setterm -blength 0

This sets the bell duration to 0 milli seconds or you can use the setting in .bashrc

set bell-style visible

Note that these settings only work in a normal command line bash. This is not the case for "konsole" in kde. There we can use the setting menu, click on the bell and set it to visible.

Under vi you need to do the following:

:set visualbell

Under X-windows we normally use:

xset b off

Hope this helped you. 

 

 


Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2011 Lubby (V3.0.10 Aug 2011)
Sponsored by Keskon.
Statistical information by Google Analytics