作者:簕竹仔_591 | 来源:互联网 | 2017-10-30 08:08
当然,嘟嘟声都是操作失误造成的,系统提示一下也没有错,可是如果在公司工作时,大家都在埋头工作,不时嘟一声,或者晚上夜深人静的时候偶尔来一下。
干脆关掉得了。
关掉所有的提示音在 Linux 控制台下(没有 X11),你可以使用一下命令:
setterm -blength 0
#alternatively you can change the frequency of the beep to a #very low value:
setterm -bfreq 10
而在 X11 下面(不管是 KDE、Gnome、XFCE 或者……) 你可以:
xset b off
对每种 shell 操作作为一种可能的选择,你可以直接关掉某种 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
结论为避免误解,特此声明:以上操作只是关掉了(蜂鸣器的)嘟嘟声,你仍然可以在你的电脑上自在的听歌。
世界清静了,把主板上的speaker拔掉就OK了。