Information Technology Reference
In-Depth Information
only if you don't have FileVault turned on, because that uses a different login
procedure.
1.
Open Terminal (open Finder, select the Applications list, and then in the
list of applications double-click Terminal within the UTILITIES folder), and
type NANO to open the NANO command-line text editor. Then type the following
within NANO :
#!/BIN/BASH
OSASCRIPT -E 'SET VOLUME WITH OUTPUT MUTED'
2.
When you've finished typing, hit CONTROL + O , and then type the following
for the filename: ~/DOCUMENTS/MUTE.SH . Hit RETURN to save the file.
3.
Don't close the Terminal window, but alter the second line within NANO to
read as follows (that is, change WITH to read WITHOUT ):
#!/BIN/BASH
OSASCRIPT -E 'SET VOLUME WITHOUT OUTPUT MUTED'
4.
When you've finished typing, hit CONTROL + X , hit Y , and then type the follow-
ing for the filename: ~/DOCUMENTS/UNMUTE.SH . Hit RETURN to save the file, and
then hit Y to confirm you want to save the file with a different name. NANO
will quit after this.
5.
In the Terminal window, type the following series of commands, typing
your login password when prompted:
SUDO CHMOD U+X ~/DOCUMENTS/MUTE.SH
SUDO CHMOD U+X ~/DOCUMENTS/UNMUTE.SH
SUDO MV ~/DOCUMENTS/MUTE.SH /LIBRARY/SCRIPTS/
SUDO MV ~/DOCUMENTS/UNMUTE.SH /LIBRARY/SCRIPTS/
SUDO DEFAULTS WRITE COM.APPLE.LOGINWINDOW LOGOUTHOOK /LIBRARY/SCRIPTS/
MUTE.SH
SUDO DEFAULTS WRITE COM.APPLE.LOGINWINDOW LOGINHOOK /LIBRARY/SCRIPTS/
UNMUTE.SH
If you reboot, you should find the chime volume is now muted.
Reactivating the Chime
To restore the chime at a future date, open a Terminal window, and type the
following series of commands, again typing your login password when
prompted:
SUDO DEFAULTS DELETE COM.APPLE.LOGINWINDOW LOGOUTHOOK
SUDO DEFAULTS DELETE COM.APPLE.LOGINWINDOW LOGINHOOK
 
 
 
Search WWH ::




Custom Search