|
此文章由 魔头 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 魔头 所有!转贴必须注明作者、出处和本声明,并保持内容完整
关闭苹果电脑开机声音的方法
苹果电脑开机时,会发出“当”的一声开机声,不仅有时会吓人一跳,在公共场合的地方还很讨厌。有没有办法关闭苹果电脑开机声音呢?如果您想这么做,可以尝试以下方法:
关闭或改变苹果电脑开机音乐方法一:苹果电脑关机前把声音关掉,再开机的时候就不响了;
关闭或改变苹果电脑开机音乐方法二:下载Startup Chime Stopper
关闭或改变苹果电脑开机音乐方法三:国外的高手用script关掉开机音的,和大家共享:
First write a small script:
#!/bin/tcsh -f
osascript -e 'set volume 0'
I named mine mute.sh and saved it to /usr/local/bin/. Next, make it executable:
sudo chmod u+x /usr/local/bin/mute.sh
Add it as a logout hook using the defaults write command:
sudo defaults write com.apple.loginwindow LogoutHook /usr/local/bin/mute.sh
And last, make a small AppleScript with Script Editor to set the sound back to a normal level when the user logs back in.
set volume 3
Save it as a run-only application, and add it to your login items. Restart and listen to the startup sound, because you won't have to hear it again. |
评分
-
查看全部评分
|