Chinaunix首页 | 论坛 | 博客
  • 博客访问: 38962
  • 博文数量: 33
  • 博客积分: 1985
  • 博客等级: 上尉
  • 技术积分: 430
  • 用 户 组: 普通用户
  • 注册时间: 2009-03-08 23:46
文章分类

全部博文(33)

文章存档

2009年(33)

我的朋友

分类: LINUX

2009-05-12 13:58:03

写在前面:终于把这个问题摆平了,为了方便大家查找我在前面写几个关键字:linux sell 报警 嘟嘟声 backspace 关闭 停止

shell 里面,可以按下 crtl-g 来测试一下这个嘟嘟声是否已经去掉
关掉所有的提示音
在 Linux 控制台下,可以使用以下命令:
setterm -blength 0

#alternatively you can change the frequency of the beep to a
#very low value:

setterm -bfreq 10
而在 X11 下面,可以使用:
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
如果系统是运行在VMware下
修改虚拟机的配置文件/etc/vmware/conf或~/.vmware/preferences,加入以下内容
mks.noBeep = "TRUE"
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/65447/showart_1348855.html
阅读(219) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~