Skip to content

Instantly share code, notes, and snippets.

@nuhil
Created June 17, 2015 07:47
Show Gist options
  • Save nuhil/4e4307ceb0a588eb6066 to your computer and use it in GitHub Desktop.
Save nuhil/4e4307ceb0a588eb6066 to your computer and use it in GitHub Desktop.
OSX Tips & Tricks

#OSX Tips & Tricks
Disable the Internal Laptop Display
sudo nvram boot-args="niog=1"
After executing the terminal command, reboot and close the lid immediately. Keep the lid closed during boot up, and once logged in to a user account in OS X, open the lid. If in sleep mode, just close the lid before waking the MacBook Pro and open the lid once again after logging back in.

To undo and return to normal display behavior:
sudo nvram -d boot-args
Similar to prior versions of OS X, resetting the PRAM can also disable the setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment