|
|
#1 |
|
Prospect
Join Date: Mar 2005
Posts: 2
|
Is there a way to force a display (only) to sleep on an iMac G5? I don't want to put the entire machine to sleep, and would like some convenient way to force the display to sleep on demand, rather that adjusting the powersave feature to put the display to sleep after a minute.
I was thinking of something along the lines of a shell script, or hot corner or konfabulator object, etc. I'd like to click somewhere, or better yet, creat a hot key sequence to turn off the display. Thanks in advance for any advice. Ke |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Jan 2006
Posts: 1
|
Bump, I'd really like to be able to do this, also.
|
|
|
|
|
|
#3 |
|
Hall of Famer
Join Date: Mar 2002
Posts: 3,878
|
It would be worth looking into AppleScript to do this. I took a quick look in some dictionaries but couldn't find an appropriate command. I've switched screen resolutions with AppleScript before though.
|
|
|
|
|
|
#4 | |||||||||||||||||||||||
|
Hall of Famer
Join Date: Apr 2002
Posts: 3,315
|
Code:
#!/bin/bash /usr/bin/pmset -a force displaysleep 1 exit 0 I believe... which sets the action by writing to RAM (i.e., no .plist on disk is written to, which would require sudo. So on reboot, the default setting should be restored). The integer on the end is minutes till sleep, so you'll need to wait a minute. [I've never tried a 0 (zero)!] Works on my PowerBook G4 anyway, -HI- Last edited by Hal Itosis; 01-09-2006 at 01:51 AM. |
|||||||||||||||||||||||
|
|
|
![]() |
|
|