Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Use Automator to control display sleep and muting' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Use Automator to control display sleep and muting
Authored by: Anonymous on Jul 27, '06 02:58:34PM

I have a small bash script that goes like this:

pmset -c displaysleep 1 force ; sleep 70 ; pmset -c displaysleep 60 f
orce

I execute this script and the display will go to sleep in one minute (if I don't touch anything), after which time the sleep time goes back to my (preferred) 1 hour. Using pmset with the "force" option does not modify the system-wide .plist file, so it does not require the bothersome password entry for Admin privs.



[ Reply to This | # ]