[ltp] Terminal Sound

Richard Neill linux-thinkpad@linux-thinkpad.org
Wed, 28 Sep 2005 02:38:23 +0100


Konstantin Filtschew wrote:
> On Sat, 2005-09-24 at 11:32 +0200, Lars Roland wrote:
> 
>>Hi all
>>
>>I have a t42 and is running gentoo on it - I am getting somewhat tired
>>of the laptop speaker making a sound when I use the terminal (usually
>>when trying to expand a non-atomic path using the tab key). I have
>>tried muting everything using alsamixer and have cycled through all
>>the settings in the bios but I am unable to find the right place to
>>turn off this behaviour (perhaps its an acpi setting ?). If anyone
>>know how to make it completely quiet then I will be happy to hear how
>>(I can live with the occasional sound when using the fn key).
>>
>>
>>Regards.
>>
>>Lars Roland
> 
> 
> hi,
> 
> it's the PC-Speaker in your thinkpad :)
> 
> You can disable the bell in linux globally:
> 
> edit the file /etc/inputrc and add this:
> 
> # do not bell on tab-completion
> set bell-style none
> 

However, that makes the bell useless. You may find that using:
set show-all-if-ambiguous on
improves the tab-completion behaviour dramatically. At that point, the 
bell becomes useful rather than annoying.

Also, install the bash-completion package for even better results
(eg if you have a file "foo" and a directory "foobar", then you can 
type: "cd fo[TAB]" and it will do the right thing. Also you get 
completion on ping,ssh,signals,...)

Regards,

Richard