Default Screensaver on Mac OS X

Posted by DanieL on Super User See other posts from Super User or by DanieL
Published on 2010-06-14T00:07:29Z Indexed on 2010/06/14 0:13 UTC
Read the original article Hit count: 713

Filed under:
|
|
|

Hi, How do I change the default screensaver in Mac OS X using shell. I am writing a script to customize computers that I need to distribute. In particular I would like them all to have the same default screensaver.

How could I change this in a script? So far I have done the following:

  • I have a com.apple.screensaver.default.plist file with the screensaver settings I want in it, and in the script I copy it to /Users/guest/Library/Preferences/ByHost/com.apple.screensaver.${UUID}.plist where UUID is the relevant value.
  • I have modified /System/Library/Frameworks/Screensaver.framework/Versions/A/Resources/EngineDefaults.plist to have the screensaver I want as the default settings.

But when I open Screensaver settings in System Preferences after running the script, the default screensaver is Flurry!

What can I do to make this work?

Thanks, ChilisWorld

© Super User or respective owner

Related posts about osx

Related posts about mac