|
|
Run any ScreenSaver from the Login window
I found the check for logged in users to be unreliable under 10.4.4 with FUS enabled. But using the "open" command on the ScreenSaver app itself seems to solve a lot of problems.
1. If a user is logged in, it will show that user's screen saver 2. If login window is displayed, shows the default screen saver I can skip the logged-in user step entirely, and the framework just seems to do the right thing. I haven't figured out how to pass command-line args via the "open" command, so the idle check is done separately. I also left in the check for screen saver already running, but this does not even seem necessary. To change the default screen saver, edit /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/EngineDefaults.plist, changing moduleName to whichever one you want to use. The default is "Flurry" - I used "Pictures Folder". If you use "Pictures Folder", you must give one to the root user. I made a symlink "Pictures" in /var/root to the folder I wanted to use. There is no need to enable root user login. For some reason, I could never get this to work using launchd (black screen). But it works fine under cron. I'm also not sure why it uses the default screen saver, even if root user is enabled has one specified in preferences. YMMV.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.13 seconds |
|