On both of these windows, you’ll be able to adjust the brightness, resolution, rotation, and colors of the screens. Open terminal and type caffeinate your mac wont turn to sleep, and then use control + shift + power to turn of the display.
You’ll see two preferences windows when you do this, one for your MacBook screen, and one for your monitor. To fix or avoid this, head to System Preferences > Displays. This can be disorienting, and it definitely hurts workflow if you need to go between the displays a lot. If your MacBook thinks the monitor is to the right, when it’s really to the left, you’ll still have to move your cursor all the way to the right to get over to the monitor. At that point, your screen will blink black for a second and your monitor screen should turn on, showing a continuation of your laptop display.ĭepending on where you’re setting up your monitor relative to your laptop-to the right, left, or even above or below it-you’ll want to adjust how your screens work to mimic what’s happening in real life. On your MacBook, you shouldn’t have to do more than plug in the cable (or the cable with an adapter). Then, plug the cable you’ll be connecting to your MacBook into the monitor. With your ports understood and cables obtained, the next step is to plug the cables in and start using your monitor with your MacBook.įirst, make sure your monitor has its power cord plugged in and is turned on. Hold down the power button untill the machine turns off, hold down command q, choose shut down from the apple menu whetever you have to do to shut down the computer so the new owner can press the power button and set up the machine like it was 'factory new'. To disable it: sudo systemctl disable screen-off.Plug Everything In and Adjust Your Settings
Sudo chmod +x /etc/systemd/system/rviceĪnd finally get it working and enabled on boot: sudo systemctl start rvice Make it executable: sudo chmod +x /home/USER/.boot-scripts/screen-off.sh Any keypress will turn it back on.ĮxecStart=/home/USER/.boot-scripts/screen-off.sh Create file /etc/systemd/system/rvice ĭescription=Blank screen after 1 min and turn it off after 2 min. Now try them one by one to get your Mac back to normal. There are ten proven methods you can apply to fix your MacBook Pro/Air with a black screen. Store it for example in hidden folder of your home directory /home/USER/.boot-scripts/screen-off.sh #!/bin/bashĪnd make script file executable by systemctl. Fix MacBook Pro/Air wont turn on for black screen issue. You must run it from local of your machine, or do next stage of this guide.
In this output, DVI port connected monitor is labelled as DFP1 and other one as CRT1. In this video I show you how to turn off the screen of a laptop but keep the actual computer components running.Thanks for watching and remember to rate and. (more details are shown here, but I have hidden it)ĬRT1 connected 1360x768+0+0 (normal left inverted right x axis y axis) 410mm x 230mm First run xrandr -q command, which will list all the monitors and its current display settings. Press Control + Command + Q at the same time, then press.
However if you want turn off only one or some of the monitor you should use xrandr. If you have a Power key on your keyboard, simply press Control + Shift + Power at the same time. I have two monitors (one is connected to DVI port and other to VGA port) and when I run the command I see this: Screen 0: minimum 320 x 200, current 1360 x 768, maximum 2726 x 2726ĭFP1 connected 1360x768+0+0 (normal left inverted right x axis y axis) 304mm x 228mm The xset command mentioned in other answers will turn off all the monitors if you have multiple monitor setup. At the start of each monitor details you will find monitor name set by the system. However if you want turn off only one or some of the monitor you should use xrandr.įirst run xrandr -q command, which will list all the monitors and its current display settings. In the drop-down, choose the device you want to AirPlay to. The xset command mentioned in other answers will turn off all the monitors if you have multiple monitor setup. In the menu bar at the top of your Macs screen, click the AirPlay icon, which looks like a rectangle with an arrow at the bottom.