Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'Change the screen saver's idle time via AppleScript' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Change the screen saver's idle time via AppleScript
Authored by: johnsawyercjs on Sat, Feb 16 2008 at 1:25AM PST
Note that the plist name quoted in my hint (com.apple.screensaver.0011aa2233cc.plist) is specific to a certain Mac, and yours will be different. The name quoted above may be specific to robg's Mac, since my original hint cited this plist's name as "com.apple.screensaver.MAChash.plist", and pointed out that MAChash was a placeholder for the Mac's MAC address.

[ Reply to This | # ]
Change the screen saver's idle time via AppleScript
Authored by: gerryster on Wed, Feb 25 2009 at 4:52AM PST

Note that the defaults command did not take effect if the System Preferences application is open.

This is helpful to know when watching long videos on your computer. I also use the pmset command to set my Energy Saver preferences to never sleep. This is what I use:

sudo pmset -a -1

-a means apply to battery and outlet powered. -1 loads the custom Energy Saver preferences which in my case all timeouts are set to "Never." I revert this back to normal by using this command:

sudo pmset -a 1

Note that "1" is the "Normal" setting in Energy Saver.

[ Reply to This | # ]