How to turn off console beep
2009-05-13 11:48:16来源:未知 阅读 ()
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
[url=javascript:;]beep[/url]
.BSD爱好者乐园|b?_!v?G+w:Y
BSD爱好者乐园H?'~Fo
[$u#[1R
On the
[url=javascript:;]console[/url]
you can set the volume of the console beep with
[url=javascript:;]wsconsctl[/url]
.BSD爱好者乐园$z*[T
o$l.c
iEm1w7KRTo display the current volume enter:BSD爱好者乐园k o_qj6ZKy*y
# wsconsctl bell.volume
`UV(^:?w"T
VYou can control the volume setting different values. To turn the volume off enter:
5QHy'vY# wsconsctl -w bell.volume=0BSD爱好者乐园?jNp;M F2~'w8RT
This may not work on every hardware. The solution is to set the the bell pitch to 0 Hz.BSD爱好者乐园 K?rI/k+V!{J
# wsconsctl -w bell.pitch=0BSD爱好者乐园-ujGm&Qr
The bell pitch defaults to 1500 Hz. Sometimes a lower value is more comfortable. Just keep trying.
z6S'|?W%H%e2vgX11
|#?
u |,jF{L.?!_r9`If you are working with X11, you can turn off the console beep using the command
xset
.
$\u&J1pUK?F.fJ'Y#}
0|7er)Lq VIf you are using modular Xorg you need to install
xset
, it is under x11/xset.
1OY~a$UbN8\
&V7{pM]-_To turn the console beep off enter:
7X7F(U4|K*Tl7{S$WiT$ xset b off
uAT"q)Fui]To turn it back on, enter:
^5iIs3[|$ xset b on
!G!|nG*Z8}You can also set the volume and the pitch of the beep. This is not always supported, depending on the hardware.BSD爱好者乐园N9yY/i6n3F
BSD爱好者乐园7h*d8f@)x7qx8o'f
However if you want to set volume and pitch you can do something like that:
TXh1J.N7l8m-V+rgh
ld$ xset b 10 1000 100See also
wsconsctl(8)
http://wiki.netbsd.se/How_to_turn_off_console_beep
"
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/4206/showart_501062.html
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
上一篇:ee使用
- OpenBSD 4.5 2009-05-13
- DragonFly BSD 2.2.1发布 2009-05-13
- NetBSD 5.0发布 2009-05-13
- Flash 9 for FreeBSD 7.1 2009-05-13
- FreeBSD中启用SSH 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash