Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Through the CLI, I would like to select the flurry screen saver set to activate in 15 minutes and show the clock.

share|improve this question
add comment

2 Answers

Firstly, set your screensaver to Flurry in System Preferences and check the checkbox to show the clock.

Open up the terminal and type

sleep 900;/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine&

In 15 minutes, the screensaver will activate with Flurry and show the clock.

The sleep 900 line controls the delay, so 900 is 15minutes in seconds (15*60).

You could add an alias for this command in your ~/.bash_profile so that you don't need to type this large command every time. eg if you wanted to have ss be the command then enter this into the ~/.bash_profile

alias ss='sleep 900;/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine&'

Hope this helps.

share|improve this answer
    
Thanks for the help... –  user5886 Apr 28 '11 at 1:31
add comment

Unfortunately there isn't a general program to set arguments in the System Preferences so you will need to edit the plist files where the settings are stored.

The important file with the timeout and the module name and path is ~/Library/Preferences/ByHost/com.apple.screensaver.MAC_STRING_GUID.plist

Flurry has a plist file as well for it's settings, but I suppose you could set them or use the defaults if needed.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.