Linux系统中关闭喇叭的报警声音
来源:互联网 发布:淘宝卖大米不让发布 编辑:程序博客网 时间:2024/04/29 16:09
Q. This beep sound is annoying under Linux, how do I disable it forever?
A. To be frank there are many ways exists - to turn off terminal beep. Use any one of the following method as per your requirements.
If you are using Gnome terminal
a) Open Gnome terminal
b) Click on Settings > Preferences > Silence Terminal Bell
Or Click on General Tab -> General -> Un-Check Terminal bell option
If you are using xterm
Open ~/.xsession file (i.e. /home/you/.xession)
$ cd
$ vi .xession
Append following line
xset b off
Save and close the file.
If you are using bash
Open you ~/.inputrc file (i.e. /home/you/.inputrc file
$ cd
$ vi .inputrc
Append following line:
set bell-style none
Save and close the file.
If you just want to turn off beep for VIM text editor:
Open vim config file ~/.vimrc (i.e. /home/you/.vimrc)
$ cd
$ Vi .vimrc
Append following line
set vb
Save and close the file.
If you are using Ubuntu Linux
a) Click on Applications > Accessories > Terminal
b) Now click on Edit Menu > Current Profile
c) Click on General Tab > General > Remove check box (Terminal bell)
A. To be frank there are many ways exists - to turn off terminal beep. Use any one of the following method as per your requirements.
If you are using Gnome terminal
a) Open Gnome terminal
b) Click on Settings > Preferences > Silence Terminal Bell
Or Click on General Tab -> General -> Un-Check Terminal bell option
If you are using xterm
Open ~/.xsession file (i.e. /home/you/.xession)
$ cd
$ vi .xession
Append following line
xset b off
Save and close the file.
If you are using bash
Open you ~/.inputrc file (i.e. /home/you/.inputrc file
$ cd
$ vi .inputrc
Append following line:
set bell-style none
Save and close the file.
If you just want to turn off beep for VIM text editor:
Open vim config file ~/.vimrc (i.e. /home/you/.vimrc)
$ cd
$ Vi .vimrc
Append following line
set vb
Save and close the file.
If you are using Ubuntu Linux
a) Click on Applications > Accessories > Terminal
b) Now click on Edit Menu > Current Profile
c) Click on General Tab > General > Remove check box (Terminal bell)
- Linux系统中关闭喇叭的报警声音
- 关闭刺耳的Ubuntu系统报警喇叭
- ubuntu禁止喇叭报警声音
- 关闭linux下pc喇叭的嘟嘟声音(system beep)
- Centos 关闭烦人的报警声音
- 何关闭Linux系统的beep声音
- linux中关闭报警音
- linux中关闭报警音
- 解决Linux系统中在用vim编辑器时如何关闭嘟嘟的报警响铃声
- 如何在CentOS中关闭PC喇叭的响铃
- 关闭linux的beep声音
- VC++中实现报警声音
- VC++中实现报警声音
- 安装 Ubuntu 10.04 Linux,插入耳机后,没反映,可是笔记本的喇叭里有声音
- BB是报警的声音
- 关闭Ubuntu系统的BELL声音
- 自动登录监控系统打开/关闭报警的Perl脚本
- 关闭主板蜂鸣器/喇叭的脚本
- << 运算符
- Visual C++程序调试方法入门
- java 读写txt文本文件
- 完全实现 各种变态路径的解压缩,支持在 Web 上运行(在数字签名中遇到的问题,想到了用这种写法)
- 对txt读写改的java类
- Linux系统中关闭喇叭的报警声音
- Info-zip移植并添加进度callback机制
- SharpPcap使用心得
- Hadoop测试(在cygwin+window环境下)
- SharpDevelop学习笔记(5)—— AddIns系统详解
- javascript 下拉列表 添加 删除
- 凤翱翔于千仞
- 关于VS05里checkboxlist用JS获取不到value值的解决方法[转]
- SharpDevelp2.0学习笔记(1)——SharpDevelp简单介绍