Chinaunix首页 | 论坛 | 博客
  • 博客访问: 235223
  • 博文数量: 2
  • 博客积分: 3010
  • 博客等级: 中校
  • 技术积分: 655
  • 用 户 组: 普通用户
  • 注册时间: 2007-04-30 20:35
文章分类

全部博文(2)

文章存档

2008年(2)

我的朋友

分类: LINUX

2008-07-21 17:57:40

1. globally off
In a plain linux console (no graphical X11) you can turn the beep off with the command:
setterm -blength 0

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

setterm -bfreq 10
When working under X11 (no matter if KDE, Gnome, XFCE, or ... is used) you turn off the beep with:
xset b off
2 Beep off on a per shell basis
Alternativley you can turn off the beep directly in the 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



阅读(714) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:设计模式之Singleton

给主人留下些什么吧!~~