Monday, March 5, 2007

No Startup Sound

sudo nvram SystemAudioVolume=" "

Seems to use ASCII character values from 32 upwards to represent the different volumes - the default is "{" which is quite loud..

to restore default behaviour :

sudo nvram -d SystemAudioVolume

tip found at:
http://forum.onmac.net/archive/index.php/t-507.html

The MacBook I tried this on however does not seem to do as it should.
After a reboot the value of SystemAudioVolume seems to get set back to 'w'...

Oh well, I'll just keep on using 'StartupSound.prefPane' found here:
http://www5e.biglobe.ne.jp/~arcana/StartupSound/index.en.html

1 comment:

Unknown said...

well... it works with nvram. No unnecessary programs needed, just make a script, /etc/rc.shutdown.local, which contains just two lines:

----
#!/bin/sh
/usr/sbin/nvram SystemAudioVolume="S"
----

S is ascii(83), A is more silent, a is louder. thanks.