How to turn off the beep sound in Eclipse?

谁都会走 提交于 2019-12-05 01:03:10

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

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).

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...

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

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