News for hackers. Stuff that matters.

On a MacBook, how do I use only the external screen?

"Hi folks, hope someone can shed some light. I have a Macbook Air hooked up to a 4K LG monitor through HDMI via a Thunderbolt 3 hub. Everything works fine, but I can't find a way to turn off the Retina Display on the Macbook and just keep the external monitor as the only screen (in Windows/Linux, you can simply press Win/Super+P and cycle through Laptop, External, Mirror, Extend). Is there something similar for macOS?"
( 6 comments | 2 points | on HN )
Re:On a MacBook, how do I use only the external screen? by nampat on Saturday July 30, 2022 @05:03AM (#32285363)
Close the MacBook lid and use it in a clamshell mode.
Re:On a MacBook, how do I use only the external screen? by jaclaz on Saturday July 30, 2022 @05:36AM (#32285478)
>Close the MacBook lid and use it in a clamshell mode.

... if you have an external keyboard and mouse/trackpad ...

Re:On a MacBook, how do I use only the external screen? by matt_s on Saturday July 30, 2022 @10:35AM (#32287099)
I would guess that if someone can afford a MacBook air and 4k monitor they can buy a keyboard and mouse pretty easily.

Its the best solution, in my opinion, for MacBooks since you avoid the touchbar and keyboard variances and stick with consistent tools you can build muscle memory with. There are so many options out there too. OP could also just buy a USB KVM switch (sounds like their familiarity is with Windows) and use the same keyboard/mouse from desktop.

Re:On a MacBook, how do I use only the external screen? by kingkongjaffa on Saturday July 30, 2022 @02:09PM (#32288942)
I just tried this out right now, with a Macbook Pro 14" M1, 2021 on macOS Monterey 12.0.1

This is how to do it: https://www.lifewire.com/prevent-macbook-from-sleeping-when-...

- You need to be plugged into the power.

- got to battery settings.

- power adapter

- set display off to never (far right option on the slider)

- tick 'prevent your mac from automatically sleeping when the display is off.

It's a bit convoluted but it works.

Instead of setting display to never you can use a tray utility to manage that, in the past caffeine was the goto app for this. With mac M1 I am using owly but I'm not sure why it was just the first thing I installed on my fresh machine. https://apps.apple.com/us/app/owly-prevent-display-sleep/id8...

Re:On a MacBook, how do I use only the external screen? by AA-BA-94-2A-56 on Saturday July 30, 2022 @08:38AM (#32286311)
Just mirror the external display, and set your brightness to 0. Easy,
Re:On a MacBook, how do I use only the external screen? by mijndert on Saturday July 30, 2022 @06:32AM (#32285674)
Clamshell is the only way. Or just not put app windows on the MacBook display.