[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sounds off in bash



On Wed, 20 Oct 2004, Otto Wyss wrote:

> In bash rather many time the speaker sounds. Unfortunately my speaker is
> so loud I had to disconnect it. Since that isn't a permanent solution is
> does anyone know how to disable any sound in bash?
> 
> There is a readline variable "bell-style" but I can't figure out how to
> us it. I can't find the file "inputrc.
> 
> O. Wyss

Hi,

1) edit /etc/inputrc with adding:
#Disable sound (beep)
set bell-style none

2) or use setterm in /etc/profile:
# Sets the bell frequency in Hz.  Without an argument, defaults to 0.
setterm -bfreq



Oliver
-- 
... don't touch the bang bang fruit



Reply to: