|
|
发表于 2008-5-3 00:51:26
|
显示全部楼层
- http://www.bitscn.com/linux/system_manage/200604/6884.html
- Introduction当电脑对我嘟嘟嚷的时候,我真的觉得很讨厌。我常常在 shell 里面使用 Tab-补全来节省大量的输入时间,但是我受不了扬声器没完没了的嘟嘟声! DL@bitsCN_com网管软件下载
- 下面就为大家介绍如何快速去除讨厌的叫声。在 shell 里面,你可以按下 crtl-g 来测试一下这个嘟嘟声是否已经去掉。
- 中国_网管联盟bitsCN.com
- 关掉所有的提示音在 Linux 控制台下(没有 X11),你可以使用一下命令:
- DL@bitsCN_com网管软件下载
- setterm -blength 0 bitsCN.nET*中国网管博客
- #alternatively you can change the frequency of the beep to a #very low value: www@bitscn@com
- setterm -bfreq 10 BBS.bitsCN.com网管论坛
- 而在 X11 下面(不管是 KDE、Gnome、XFCE 或者……) 你可以: bbs.bitsCN.com中国网管论坛
- xset b off DL@bitsCN_com网管软件下载
- 对每种 shell 操作作为一种可能的选择,你可以直接关掉某种 shell 里的提示音。 bbs.bitsCN.com
- 对 Bash:
- [bitsCN.Com]
- # has to go into /etc/inputrc or .inputrc # It will not work in a .bashrc file!
- bitsCN~com
- set bell-style none
- bbs.bitsCN.com
- 对 Tcsh:
- [bitsCN_com]
- # put this into your .tcshrc file [bitsCN.Com]
- # just tab completion beep off:set matchbeep = never # any beep off:set nobeep = 1 www@bitscn@com
- 结论为避免误解,特此声明:以上操作只是关掉了(蜂鸣器的)嘟嘟声,你仍然可以在你的电脑上自在的听歌。 bitsCN~com
- 世界清静了……
- 原文地址 http://bbs.chinaunix.net/viewthread.php?tid=707351
- Introduction
- 当电脑对我嘟嘟嚷的时候,我真的觉得很讨厌。我常常在 shell 里面使用 Tab-补全来节省大量的输入时间,但是我受不了扬声器没完没了的嘟嘟声!
- 下面就为大家介绍如何快速去除讨厌的叫声。在 shell 里面,你可以按下 crtl-g 来测试一下这个嘟嘟声是否已经去掉。
- 关掉所有的提示音
- 在 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
- 结论
- 为避免误解,特此声明:以上操作只是关掉了(蜂鸣器的)嘟嘟声,你仍然可以在你的电脑上自在的听歌。
- 世界清静了……
复制代码 |
|