iEFdev

Code, Computers & Random Junk

Login Screensaver

There’s actually a screensaver to activate for the login screen in OS X. You can do it with a simple defaults write command.

To set the time to 60 sec before it appears/starts:

sudo defaults write /Library/Preferences/com.apple.screensaver loginWindowIdleTime -int 60

The default screensaver is “Flurry”. One can change that one to another (non 3rd party) screensaver.

sudo defaults write /Library/Preferences/com.apple.screensaver loginWindowModulePath -string "/System/Library/Screen Savers/Arabesque.qtz"

That will add the new screensaver, and if it doesn’t work, it will fall back on “Flurry”.

Read more..» at Apple’s page.

Example of the file: com.apple.screensaver.plist

com.apple.screensaver.plistApple KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/   PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>loginWindowIdleTime</key>
  <integer>120</integer>
  <key>loginWindowModulePath</key>
  <string>/System/Library/Screen Savers/Arabesque.qtz</string>
  <key>moduleDict</key>
  <dict>
      <key>moduleName</key>
      <string>Flurry</string>
      <key>path</key>
      <string>/System/Library/Screen Savers/Flurry.saver</string>
      <key>type</key>
      <integer>0</integer>
  </dict>
</dict>
</plist>

Comments