macOS – How to Disable Sounds in Versions 10.5 and 10.6

audiocommand linemacosplist

I need to disable "Play user interface sound effects" and "Play feedback when volume is changed" in the Sound pref.pane via terminal/unix command/ARD on multiple computers.

fseventer shows /users/$user/preferences/com.apple.systemsound.plist being edited when I make changes to these properties in the GUI, but I don't see references for these settings in this .plist

Any help would be greatly appreciated!

Best Answer

defaults is the command used to read/write preferences from the command line.

defaults write -g "com.apple.sound.beep.feedback" -int 0
defaults write "com.apple.systemsound" "com.apple.sound.uiaudio.enabled" -int 0
killall -HUP SystemUIServer
Related Question