How to turn off the beep sound in Eclipse?

孤人 提交于 2019-12-06 18:09:37

问题


On Mac OS X, I am running Flex Builder (which is basically a customized Eclipse). When I do a Find it beeps if it cannot find the selected text and when it wraps the search to the top.

Is it possible to turn off that beep? I've searched the internet and the preferences pane to no avail.


回答1:


I managed to bypass Eclipse default "run beep" on windows, by setting setting the "beep" sound to a silent .wav file




回答2:


You can get rid of it by turning down the alert volume system-wide in the Mac OS sound preferences (Sound -> Sound Effects -> Alert volume).




回答3:


On Linux you can disable this same (annoying) beep by blacklisting the pcspkr module.

None of these are solutions to the problem, however. To disable alert beeps system-wide is probably not what a person wants to do when they ask how to disable them in one specific application for one specific function.

If my smoke alarm keeps annoying me when I'm cooking then I can disconnect it, but that's probably not the best solution...




回答4:


Assuming you are running some kind of X Windows derivative, run these two commands from an terminal:

  • xset b off
  • xset b 0 0 0

You may add these to your .xinitrc or .bashrc to guarantee disabling on each system restart.

Original Source



来源:https://stackoverflow.com/questions/331757/how-to-turn-off-the-beep-sound-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!