2010年8月19日 星期四

Linux 的 beep 聲

每次用firefox 搜尋, 輸入到沒有符合的字串就會 beep 實在很煩
google 了一下, 解決的方法很簡單

xset b off

這樣就好了 XD

如果要把terminal 下的beep 聲也取消掉的話
只要輸入以下指令:
setterm -blength 0setterm -bfreq 10

針對各 shell 也可以各自設定
Bash:
# has to go into /etc/inputrc or .inputrc
# It will not work in a .bashrc file!
set bell-style none

Tcsh:

# put this into your .tcshrc file
# just tab completion beep off:
set matchbeep = never
# any beep off:
set nobeep = 1 


轉自:
http://blog.csdn.net/judyxm/archive/2006/08/23/1109086.asp
分享

沒有留言: