Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Sleep??

I have late 2006 mini with factory 2gb ram installed at the store and 10.6.6. I saw this but none of it works. I can sleep by mouse under apple menu. But not with any keyboard shortcut. Kind of weird.


http://support.apple.com/kb/HT2448

Posted on Jun 11, 2012 10:59 AM

Reply
5 replies

Apr 19, 2013 3:49 AM in response to Kavan Sidhu

I developed the following Launch Daemon to resolve a similar issue on my G4 with Leopard.


{code}


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"

"http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>Label</key>

<string>sleep</string>

<key>LowPriorityIO</key>

<true/>

<key>Nice</key>

<integer>1</integer>

<key>ProgramArguments</key>

<array>

<string>/bin/bash</string>

<string>-c</string>

<string>test `ioreg -c IOHIDSystem | awk '/HIDIdleTime/ {print $NF; exit}'` \

-lt `pmset -g | awk '/ s/ {print $NF*60000000000}'` || pmset sleepnow

</string>

</array>

<key>StartInterval</key>

<integer>120</integer>

</dict>

</plist>


{code}

Sleep??

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.