Apple’s Worldwide Developers Conference to kick off June 10 at 10 a.m. PDT with Keynote address

The Keynote will be available to stream on apple.com, the Apple Developer app, the Apple TV app, and the Apple YouTube channel. On-demand playback will be available after the conclusion of the stream.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Yosemite: Turning off Macbook Pro screen (lid open) with external monitor connected

Here we go again, this worked pre-Yosemite. Now it seems this trick no longer works. After following these steps again the screen on my Macbook Pro now turns on after logging in and opening the clam shell.


Anyone figure out/know a way to turn off the screen on the Macbook Pro with external monitors plugged in? (yes, closing the clam shell–but I'm referring to keeping the clam shell open with the display turned off)


http://gizmodo.com/5938452/a-trick-to-make-using-an-external-monitor-with-your-m acbook-way-better



To execute in Terminal:

sudo nvram boot-args="iog=0x0"

To undo in Terminal:

sudo nvram -d boot-args

Once you type it into terminal I believe you need to enter your password. I then restart my machine. Now the TRICK is to either restart your machine with the lid already closed (hit restart then slam the lid!) OR turn the machine on for the first time (then quickly slam the lid!) once you are past the login screen you can open the lid.

MacBook Pro (Retina, 13-inch, Late 2013), OS X Mavericks (10.9.5)

Posted on Oct 16, 2014 5:00 PM

Reply
Question marked as Best reply

Posted on Oct 16, 2014 6:20 PM

I use a small refrigerator magnet on the very left hand side of the laptop towards the middle of the holes for the speaker. There is a small magnet in the lid and a sensor in the body and when you close the lid a magnet activated switch shuts the laptop screen off when plugged in, when UNPLUGGED it will put the computer to sleep. i think it depends on your energy settings and what to do when the lid closes?

59 replies

Jan 17, 2015 8:31 AM in response to kkwan77

My "perfect solution" for keeping the macbook lid open but internal screen switched off/only using secondary screen, even with power unplugged(!):

simply using two terminal commands

http://osxdaily.com/2011/09/14/disable-the-internal-screen-on-a-macbook-pro-or-a ir-in-mac-os-x-10-7-lion/

enable "screen off": sudo nvram boot-args="niog=1"

disable clamshell in yosemite: sudo nvram boot-args="iog=0x0"

The trick - putting Macbook to sleep and waking up (unplugged):

  1. (when unplugged) simply close the lid to put Mac to sleep.
  2. to wake up; plug in power and wake up with keyboard/mouse (or any external USB/firewire/bluetooth device).
  3. Macbook wakes up, secondary screen turns on -> open lid (internal screen should stay turned off), unplug power.
  4. Voilá! -> only the secondary screen is on and you can use the trackpad and keyboard if you want from your macbook.

Jan 24, 2015 1:52 AM in response to kkwan77

If I am completely honest, I don't know how to use terminals and such, but if it helps anyone when I hook up my mac to an external display (in my case a tv) and want to turn off my monitor when streaming (Netflix for example) I just have to turn the brightness on my screen all the way down. The last setting turns the monitor completely off while the tv continues to act as a display (the brightness settings of my monitor do not change that off the tv). I'm not sure if this is the same for other displays however. I hope this may help anyone else.

Jan 24, 2015 4:35 AM in response to Aristi22

Hi Aristi22, this is not exactly the same as most of the above mentioned solutions. When dimming the screen, the screen is still "on" as can be seen in the System preferences -> Displays section.


Some people only want to use the external screen in specific situations to improve performance or to simply use another screen (instead of the internal macbook screen).


In your case you're actually mirroring your internal display and dimming it. This results in a lot more CPU load of the graphics card, which most of the people in this thread want to avoid. Another reason might be when you just want a "desktop" with one ("extended"-external) screen. Hope this clears things up!

Feb 1, 2015 5:49 AM in response to kkwan77

Please add this option in the OS X 10.10, I just melt the MBP 17" 2011 discrete card for not have this option to turn off the MBP display when I connect to the Thunderbolt Display, Now I have to pay a New Logic, because First it's a bad design of cooling the MBP 2011,


2011 MacBook Pro and Discrete Graphics Card


and second because there is not a option to turn off the display of the MacBookPro and force the card to work the double and that mean more temperature in the MBP for nothing.

Feb 17, 2015 1:24 PM in response to edbilodeau

Yes, that does work visibly however the screen is still on. Take a flashlight to the screen and you'll discover it's still being powered on despite the zero brightness.


The main reasons why I want to turn the screen internal clamshell off:


1) Extra GPU usage used to power an unused screen

2) Extra heat created by powering the internal clamshell lid


Now the perfect solution would be from Apple to to provide an option to do this from the Display preferences (thus avoiding to have to resort to a terminal command), but alas that doesn't appear to be in the immediate forecast if ever.

Feb 21, 2015 8:43 AM in response to edbilodeau

No, this does not turn off the native display. The GPU is pushing pixels all the same whether you dim the display or not, and this still shortens the life of the GPU with extra heat, even if the lid is open. Not only that you will lose a substantial amount frame rate.


This has been an issue since Snow Leopard and was one of the reasons I sold my Apple equipment. Very annoying that it is still the same problem today when I am working on a project with a Macbook pro. There is a class action lawsuit regarding the graphics cards, but I am not sure if clamshell mode being disabled in 10.6 was an argument to the case.

Feb 26, 2015 11:32 PM in response to SonicSoundVW

The magnet works! How can anyone possibly advise against that?

For people who think a magnet is bad-THERE IS A MAGNET IN THE DISPLAY! It's not like the magnet in the display is suddenly NOT a magnet when the laptop is closed.

If you run your macbook in clamshell mode, you DO have a magnet resting on your computer!

If you don't believe it, run a paperclip along the edge of the display until you find the spot where it sticks. Badaboom...

Mar 14, 2015 11:55 AM in response to dylan.e3

If you can't get this to work, look at the code you are using very closely.


I found the code here: http://raynfire.net/2014/11/16/yosemite-how-to-turn-off-the-macbook-screen-lid-o pen-with-a-connected-external-monitor/


On that page, one character that should be " — decimal HTML " — is apparently ” — decimal HTML ”. Thus, if you are entering the command line

sudo nvram boot-args="niog=1" be sure you have not selected and copied and pasted bad code such as (red for emphasis)


sudo nvram boot-args=”niog=1


I wasted most of a morning rebooting and trying to understand how you all were getting help from the command line and I was not. Here is a link to a site that posts the correct code: http://mac-how-to.wonderhowto.com/how-to/turn-off-macbook-pro-screen-with-lid-op en-and-using-external-monitor-0158393/


At least one site does not use the quotes at all in the example it gives. I have not tested that method, but the one I detail here worked for me on my MacBook Pro 9,2, under OS 10.10.2

Yosemite: Turning off Macbook Pro screen (lid open) with external monitor connected

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.