1>shell报警声
方法1
#vi /etc/inputrc
================================
# do not bell on tab-completion
set bell-style none
================================
方法2
#echo "set bell-style none" >> ~/.bashrc
注:上边只是去掉shell中的tab报警声,如果还有其它的报警声可以用下面命令:
setterm -blength 0
或将其加入到/etc/bashrc中。
2>gdm登录报警
#vi /etc/gdm/custom.conf
==========================
[greeter]
Browser=true
SoundOnLogin=false
==========================
阅读(1011) | 评论(0) | 转发(0) |