Disabling Power button or temporary disable? [10.5.2] [MacBook Pro]

Discussion in 'macOS' started by GloStix, May 4, 2008.

  1. GloStix macrumors member

    Joined:
    Jan 8, 2008
    #1
    Yea, my friends find it quite hilarious to push the power button and then pressing enter really fast which results in my computer shutting down.
    I was looking for an app that would make it so the power button would only work when caps lock is on or something similar. It's just really annoying >.>
    If I can't find anything, I could try beating the **** out of my friend next time.
    Thanx in advance :)
     
  2. GloStix thread starter macrumors member

    Joined:
    Jan 8, 2008
  3. kungfumaniac macrumors newbie

    Joined:
    May 14, 2008
    #3
    Disabling or ignoring Power Button in OS X

    I'd like to the answer to this as well.

    I've got a MacBook running 10.5.2 and I think the power button is stuck down. It doesn't feel like it, but I can't run the system without the "Are you sure you want to shut down your computer now?" box popping up. Click cancel or escape, the window will disappear and reappear again.

    I've rebooted from an external HD, restored to 10.5.0, all to no avail. I did find, however, that turning the machine upside prevented the shutdown window, so I'd imagine there's some crud stuck in there that's triggering the power button.

    I found what I'm looking for on an ubuntu forum:http://ubuntuforums.org/showthread.php?t=146684

    But I need to make this work for OS X terminal. Any ideas?
     
  4. Shadow macrumors 68000

    Shadow

    Joined:
    Feb 17, 2006
    Location:
    Keele, United Kingdom
  5. bart rijksen macrumors regular

    Joined:
    Mar 1, 2008
    #5
    If anyone knows, please please please tell. I would love to know, because it is unbelievably irritating. It has happened a few times, and it's horrible.
     
  6. Mal macrumors 603

    Mal

    Joined:
    Jan 6, 2002
    Location:
    Orlando
    #6
    Not the best workaround, but try just keeping a document open in Pages, Word, TextEdit, something like that. As long as there's text in it and it hasn't been saved, it should prompt you to save it before it can quit the program. If you click Cancel, the computer won't shut down. Of course, it may quit other programs before it gets to that one, so the browser might shut down on you or something else, but it'll still save you some time and trouble.

    jW
     
  7. tdhurst macrumors 68040

    tdhurst

    Joined:
    Dec 27, 2003
    Location:
    Phoenix, AZ
    #7
    Yep

    Buy a goddamn taser. I hate it when people mess with my electronics. Simply no reason for it.

    Teach them a bit of a lesson, it will.
     
  8. nintyuser macrumors newbie

    Joined:
    Jan 18, 2008
    #8
    Has anyone tried mac pilot?

    It can probably do this but currently I can't find anything on it.

    Also I'm going to try cocktail. ;)
     
  9. GloStix thread starter macrumors member

    Joined:
    Jan 8, 2008
    #9
    wow, i thought my thread died.
    glad I'm not the only one.
     
  10. tdhurst macrumors 68040

    tdhurst

    Joined:
    Dec 27, 2003
    Location:
    Phoenix, AZ
    #10
    Yep

    You could also get a yard stick and smack people with it. Or set up a rat trap.

    Seriously, this type of behavior is juvenile at the very best.
     
  11. jeremy.king macrumors 603

    jeremy.king

    Joined:
    Jul 23, 2002
    Location:
    Fuquay Varina, NC
    #11
    Would it really matter? They could still unplug it and remove the battery to power it down.
     
  12. Mal macrumors 603

    Mal

    Joined:
    Jan 6, 2002
    Location:
    Orlando
    #12
    If they had time alone with the computer. From what I'm seeing, this is while the OP is using the machine, and they just come up behind him and hit the power button, then enter to confirm. They wouldn't really have time to unplug it, flip the machine over, and take out the battery if he's sitting right there.

    jW
     
  13. jeremy.king macrumors 603

    jeremy.king

    Joined:
    Jul 23, 2002
    Location:
    Fuquay Varina, NC
    #13
    I see.

    Well, then...the OP has an elbow and the "friend" has a crotch. :eek::D
     
  14. GloStix thread starter macrumors member

    Joined:
    Jan 8, 2008
    #14
    Unless the friend is a chick :(
     
  15. Luis macrumors 65816

    Luis

    Joined:
    Jul 19, 2006
    Location:
    Costa Rica
    #15
    Put a coin over the button when you are using the computer... Other than that, I know the feeling, the best solution is to hit the friend, hard.
     
  16. GloStix thread starter macrumors member

    Joined:
    Jan 8, 2008
    #16
    I don't know if a coin is going to stop them. They'll figure it out within 3 seconds. xD

    Violence could be a nice solution though. Not the one I was hoping for =\
     
  17. nintyuser macrumors newbie

    Joined:
    Jan 18, 2008
    #17
    Wouldn't a great solution to be writing apple script? That would turn it off and on with just running that script. Solves the problem.

    I'm trying to learn AS but can it control things like hardware? Especially on that type of level?
     
  18. nintyuser macrumors newbie

    Joined:
    Jan 18, 2008
    #18
    GloStix,

    I've found two solutions, First off,have firefox, safari, or any office app, microsoft or openoffice open. Next when your friend tries to shutdown your computer hit command and s on your keyboard and bam! it brings up a dialog saying firefox stopped the shutdown. ;)

    http://www.macworld.com/article/54708/2007/01/febosxhints.html

    I can't wait to try this on my friend later today :D

    The other solution is a app called Super Shutdown where you can delay the shutdown no matter what.

    http://www.versiontracker.com/dyn/moreinfo/macosx/21250

    I hope this helps. I wish I knew xcode better to be able to program a preference pane to turn disable button on or off. That would be my next goal. ....

    Anyways I help these solutions help. They work well.
     
  19. GloStix thread starter macrumors member

    Joined:
    Jan 8, 2008
    #19
    Thanx man! I really appreciate it :)
     
  20. tdhurst macrumors 68040

    tdhurst

    Joined:
    Dec 27, 2003
    Location:
    Phoenix, AZ
    #20
    Or..

    You could just punch them in the nuts the second after they press the button and exclaim "Oh, what poor design! A terrible place for a weak spot."
     
  21. nuvs macrumors newbie

    Joined:
    Aug 30, 2004
    #21
    Same problem, different source

    I have the same problem, but my "friend" is my one year old.

    He loves to press the power button on both my and my wife's MacBook Pro. 50% of the time he presses it before we realize it and we accidentally hit the return key, setting off the shutdown process.

    Sometimes the computer is sitting idly on a table, and he presses it and then somehow hits the return key!

    I'm going to try out Super Shut Down
     
  22. CylonGlitch macrumors 68030

    CylonGlitch

    Joined:
    Jul 7, 2009
    Location:
    SoCal
    #22
    Slapping his hands when he tries it is a way of stopping the behavior. If a child is doing something that the parent doesn't want, regardless of what it is, they need to put a stop to it immediately; otherwise it becomes a habit.
     
  23. CylonGlitch macrumors 68030

    CylonGlitch

    Joined:
    Jul 7, 2009
    Location:
    SoCal
    #23
    Then there are other things you should be focusing on her crotch. And it if works, then it might be worth letting her play her stupid game. If it doesn't work, just keep telling her that if she pushes your buttons, you're going to push hers.
     
  24. GloStix thread starter macrumors member

    Joined:
    Jan 8, 2008
    #24
    Hahahaha, nicely said.
     
  25. shivanker.goel macrumors newbie

    Joined:
    Mar 18, 2013
    #25
    Download PowerBlock, or Super Shut Down from MacUpdate!
    Solves it like a charm.! :)
     

Share This Page