Disable Sleep

Discussion in 'MacOS' started by vl2006, Oct 12, 2008.

  1. vl2006

    vl2006

    Joined:
    Sep 10, 2008
    Messages:
    12
    Likes Received:
    0
    Location:
    California
    Im not sure if any of you have acciendtly closed your laptop then opened it to a black screen.(happened a little to many times to me). If it has then i have found a solution to turn off the sleep ability, InsomniaX. Its available here http://www.macupdate.com/info.php/id/22211, it give you the ability to disable sleep so you wont accidently restart your laptop anymore.
     
    vl2006, Oct 12, 2008
    #1
    1. Advertisements

  2. vl2006

    liquidtwitch

    Joined:
    Sep 15, 2008
    Messages:
    11
    Likes Received:
    0
    awesome! ive used my one as an mp3 player on the odd occasion.. i assume it turns the monitor off?
     
    liquidtwitch, Oct 12, 2008
    #2
    1. Advertisements

  3. vl2006

    SbM

    Joined:
    Jul 14, 2008
    Messages:
    505
    Likes Received:
    0
    It does.
     
    SbM, Oct 12, 2008
    #3
  4. vl2006

    robotmaker

    Joined:
    Aug 27, 2008
    Messages:
    120
    Likes Received:
    0
    or you can do what i do, and not install the clamshell kext
     
    robotmaker, Oct 12, 2008
    #4
  5. vl2006

    jacku

    Joined:
    Aug 17, 2008
    Messages:
    26
    Likes Received:
    0
    You can also disable 'sleep' in settings too. No 3rd party software required.
     
    jacku, Oct 14, 2008
    #5
  6. vl2006

    robotmaker

    Joined:
    Aug 27, 2008
    Messages:
    120
    Likes Received:
    0
    Like that one too
     
    robotmaker, Oct 14, 2008
    #6
  7. vl2006

    Damn.x

    Joined:
    Oct 6, 2008
    Messages:
    9
    Likes Received:
    0
    Location:
    Germany
    Yes, the "normal" sleep but not the auto-sleep function when you close the lid. My one will go to sleep when I close the lid and when I open it again it will hang on a black screen. InsomniaX disables sleep, so you can close and open the lid without any problems.

    Has someone tested only to put the InsomniaX.kext in the system library folder to start InsomiaX (disable sleep) on boot without to start the software, because I hate this crazy menu icon. ;)
     
    Damn.x, Oct 15, 2008
    #7
  8. vl2006

    PM5K

    Joined:
    Oct 15, 2008
    Messages:
    2
    Likes Received:
    0
    sudo pmset -a disablesleep 1
     
    PM5K, Oct 16, 2008
    #8
  9. vl2006

    Damn.x

    Joined:
    Oct 6, 2008
    Messages:
    9
    Likes Received:
    0
    Location:
    Germany
    This doesn't work on my setup! When I close the lid, he falls to sleep and dies. :(
    When I type pmset -g, I get this ouput:

    Code:
    MacBook-nano:~ Leo$ pmset -g
    System-wide power settings:
     SleepDisabled		1
    Active Profiles:
    Battery Power		-1*
    AC Power		-1
    Currently in use:
     sleep		0
     displaysleep	0
     powerbutton	0
     hibernatefile	/var/vm/sleepimage
     hibernatemode	0
     disksleep	0
     ttyskeepawake	1 
    What did I wrong?


    EDIT (Oct 16, 2008):
    It only disabled the sleep button in the apple menu.
     
    Damn.x, Oct 16, 2008
    #9
  10. vl2006

    oVerload77

    Joined:
    Oct 13, 2008
    Messages:
    18
    Likes Received:
    0
    I'm trying InsomniaX, how does one have an app start automatically on next boot?
     
    oVerload77, Nov 4, 2008
    #10
  11. vl2006

    robotmaker

    Joined:
    Aug 27, 2008
    Messages:
    120
    Likes Received:
    0
    Umm i may be somewhat uneducated on this, but cant you delete the clamshell.kext, instead of dealing with insomnia.kext
     
    robotmaker, Nov 4, 2008
    #11
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.