Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Is there any way to set a MacBook Pro to not sleep when you close the lid?

I would like to prevent my MacBook Pro (2009 version) from going to sleep when I close it. I can do this with a Windows-based laptop, but I could not find an option on the Mac. Is this possible? I want to be able to close it when outputting video to a TV, for example.

share|improve this question

marked as duplicate by Loïc Wolff, Martín Marconcini, Nathan Greenstein Dec 19 '11 at 18:13

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

If using Lion, it should not go to sleep when an external display is connected. If it does, you can wake it up with an external keyboard.

share|improve this answer
Assuming that it is plugged in, it should stay on with an external display connected, while using Lion. If not on Lion, you'll need some sort of Bluetooth device (or possibly a USB keyboard, I'm not sure). – TJ Luoma Dec 16 '11 at 21:05

InsomniaX 2.0

does a very good job at this.

enter image description here

share|improve this answer
Doesn't work with Mavericks as of today. As OP didn't specify OS X version, I believe it's worth adding to the answer. – yurkennis May 21 '14 at 19:36

Not the answer you're looking for? Browse other questions tagged or ask your own question.