How can I software disable a display? I have a mac mini with two monitors but I often access it remotely over VNC. Screen Sharing (and other vnc clients) allow me to select a single display (or view both at once), but neither work well because if I view a single screen then windows will open on the other one, alerts will pop up, etc. It's also basically impossible to use with both displays shown at once on a 13in laptop screen.
I'm looking for a way to software disable one of the monitors so that I can switch to a single display when I need to.
I finally found a solution: the open source project DisableMonitor 3.1 let's you easily disable, enable or change the resolution of all monitors attached to your Mac. It supports macOS 10.15 Catalina and Big Sur (Intel) 11.1.
DisableMonitor 3.1 is a fork of the original project DisableMonitor, which is no longer maintained.