tags:

views:

161

answers:

3

The system beep/bell happens frequently (ie, when I type a few letters then type tab to autocomplete when there are a few options).

How can I turn this off?

I googled it and tried:

set bell-style none (the command went through but nothing changed)

and

setterm -blength 0 (got a bash command not found)

Thanks!

+2  A: 

Cut the wire to your speaker. :-)

Tenner
This is the more portable option, since it works with any shell. ;-)
Emerick Rogul
+3  A: 

Add set bell-style none to .inputrc in your home directory. You need to start a new shell for this to take effect; that may be why your test didn't work.

Emerick Rogul
that did the trick. thank you Emerick!
Breck
A: 

Use mintty. Among many other advantages over the usual console, the bell is off by default.

ak