- 论坛徽章:
- 0
|
原文链接
Sometimes it is necessary to be more quiet, when using the shell. For example, when working in groups, or if you're just annoyed of the beep.
On the console you can set the volume of the console beep with wsconsctl.
To display the current volume enter:
You can control the volume setting different values. To turn the volume off enter:
- # wsconsctl -w bell.volume=0
复制代码
This may not work on every hardware. The solution is to set the the bell pitch to 0 Hz.
- # wsconsctl -w bell.pitch=0
复制代码
The bell pitch defaults to 1500 Hz. Sometimes a lower value is more comfortable.
Just keep trying.
== X11 ==
If you are working with X11, you can turn off the console beep using the command [[xset]].
To turn the console beep off enter:
To turn it back on, enter:
You can also set the volume and the pitch of the beep. This is not always supported, depending on the hardware.
== See also ==
* NetBSD manual page: wsconsctl
* OpenBSD: how to turn off console beep
[ 本帖最后由 MichaelBibby 于 2007-2-25 10:31 编辑 ] |
|