|
|
An improved shell script.
I found that the following shell script works, and it improves upon the original hint in two ways. It does not need to be run as root (or with admin privileges) because it uses the -force option of pmset to only effect the settings in memory. It also checks which set of settings should be used (Battery or AC charger) and reading and then restoring the original sleep time for that set of settings. E.g, if I have my display set to sleep after 5 minutes while on battery power and after 15 minutes while on AC power, this script will still restore these settings when done, unlike the original.
An improved shell script.
Whoops, the line
should be
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks 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.09 seconds |
|