关闭蜂鸣器- JAVA初学者- JavaEye技术网站
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)
引用自:http://www.cyberciti.biz/faq/how-to-linux-disable-or-turn-off-beep-sound-for-terminal/

个人经验:
redhat9 的beep在 “start”->"preferences"->"keyboard"->"sound"
郑重声明:资讯 【关闭蜂鸣器- JAVA初学者- JavaEye技术网站】由 发布,版权归原作者及其所在单位,其原创性以及文中陈述文字和内容未经(企业库qiyeku.com)证实,请读者仅作参考,并请自行核实相关内容。若本文有侵犯到您的版权, 请你提供相关证明及申请并与我们联系(qiyeku # qq.com)或【在线投诉】,我们审核后将会尽快处理。
—— 相关资讯 ——