Is there a way to disable the sleep command?

Discussion in 'macOS' started by itsjustmeee, Dec 16, 2011.

  1. itsjustmeee macrumors 6502a

    Joined:
    Dec 28, 2008
    #1
    Is there some terminal command that will disable the sleep function altogether? I am using my Mini for a media center and I programmed my Harmony 1 to send a sleep command after I'm done with it and for the life of me, I can't figure out just how to remove it. The Harmony 1 software is a nightmare. It would be a lot easier if there was just some way to disable it on the Mini.

    (And I tried both the Caffeine and Don't Sleep!, and neither of them will override the Harmony 1 command.)

    Thanks in advance for any help.
     
  2. mkrishnan Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
  3. Gregg2 macrumors 603

    Joined:
    May 22, 2008
    Location:
    Milwaukee, WI
    #3
    Ok, then what is "Put the computer asleep when it's inactive for: .... Never" ?
    (Energy Saver)
     
  4. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #4
    That would stop the Mac from going to sleep on its own, but the OP is trying to make it ignore a command to go to sleep. I'm not aware of a way to do that.
     
  5. StevenMeyer macrumors member

    StevenMeyer

    Joined:
    Dec 17, 2011
    Location:
    New York... Where Else?
  6. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #6
    That won't prevent the Mac from sleeping if you manually sleep it.
     
  7. StevenMeyer macrumors member

    StevenMeyer

    Joined:
    Dec 17, 2011
    Location:
    New York... Where Else?
    #7
    I am not in front of a computer with it now but I believe the program blocks all scripts but not the actual clicking of sleep. Could be wrong.
     

Share This Page