|
用vmware新装 的solaris10,无论在console还是图形界面shell里,按TAB补全时主板老是发出巨大的报警音。在windows里可以在设备管理器里面禁用。但在solaris里不好弄,找了半天终于google到了这个。
http://www.sun.drydog.com/faq/6.html#s6.45
[url=](6.45)[/url] How to change the audio beep frequency? If you have a working sound card or supported USB audio output device, add option -audiobell to Xsun. Copy /usr/dt/config/Xservers to /etc/dt/config/Xservers and edit the last line. Use xset b or dtaudio -beep to configure it. Without a supported sound card or for the console, pu, for example, the following lines in some /etc/rc2.d/ startup script: f=400 # beep frequency in Hz
echo "beep_params+4?W0t$f;.+c?W0t$f" | mdb -kwm
[Thanks to Markus Gyger]
在xwindow里直接执行xset b 0即可
但好像console不支持,新建 /etc/rc2.d/S10beep
写入
f=400
echo "beep_params+4?W0t$f;.+c?Wot$f" | mdb -kwm
保存 重启
即可 |
|