Saturday, November 20, 2010

Silence the console

Well, at times, its very much annoying to hear the console beep from a Linux terminal. Sometimes, it is very untimely. For example, you might be stuck at some command and might press a tab. If there is no possible completion, terminal beeps. Its more like your leg is stuck between tracks when the train is approaching and you are desperately trying to escape. Then the guard standing near you blows his whistle and asks you to get of from the track fast, without trying to help you. Anyway, Here is how you disable it

For text terminals

setterm -blength 0

For graphical terminals

xset b off

And u have peace....

No comments: