Skip to content

Instantly share code, notes, and snippets.

@jonasbits
Created February 8, 2014 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonasbits/8882471 to your computer and use it in GitHub Desktop.
Save jonasbits/8882471 to your computer and use it in GitHub Desktop.
To support clamshell mode on a mac laptop, meaning:
When slepping and external display is connected, wake with usb keyboard or other usb stick.
Magsafe needs to be connected.
sudo nvram boot-args="iog=0x0"
To disable this behavior:
sudo nvram -d boot-args
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment