![]() ![]() Requires OSX 10.7 Lion and Python 2.7 (Already installed by default on Lion) Screenshots You may want to try it instead, if you’re interested!) (I also found another application here which seems like a better/longer term solution, although I have not tried it out myself and so claim no responsibility. I can’t claim any responsibility for running it, although I don’t see how it could cause any issues. SMARTSLEEP MAC CODEYou can download it here along with the source code (which is messy and perhaps buggy, since I did it very fast). I decided to write a very quick application, which, when launched, tries to sleep the computer, and if there are any conditions preventing it from doing so, it will list them out. It makes it even more annoying since the iMac has no status LEDs, so it’s almost impossible to tell if it’s gone to sleep, except by listening very carefully for the fans/HDD spinning down. Now, Apple should really be informing users if there are any issues preventing a computer from sleeping. In my case, it was file sharing as well as remote TTY sessions (via SSH), which were solved by issuing the command sudo pmset -a ttyskeepawake 0. I decided to do a bit of research and found that running the command pmset -g assertions from the terminal would list any conditions currently active which are preventing the OS from sleeping. While using a brand new 2011 iMac (21″), I noticed that putting it to sleep (Apple Menu > Sleep) would not work – the screen would turn off, but the computer itself would still remain on. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |