News for hackers. Stuff that matters.
Re:macOS CLI tool to configure multi-display resolutions and... by asmor on Monday January 23, 2023 @01:36PM (#34492998)
I have a setup where I share a screen between two computers (a macOS productivity machine and a Windows gaming laptop / x86 VM lab). I did look at a lot of tools to be able to disable one of the screens in macOS so I wouldn't need to fiddle with cables, and I remember that this one didn't work.

I use mirror-displays[1] (alongside Bunch, which also turns on VBAN Talkie for audio) now. Mirroring a screen is the only way to approximate disabled screens.

[1]: https://github.com/fcanas/mirror-displays

Re:macOS CLI tool to configure multi-display resolutions and... by dylan604 on Monday January 23, 2023 @04:16PM (#34495180)
if you have multiple cables attached to the monitor, isn't it easier to use the monitor's input selection buttons to do this? with the monitors i have, when i manually switch inputs, it signals to the other computer the monitor is no longer available and my mac auto switches like was not plugged in. when i switch back to the mac's input for the monitor, the mac auto recognizes it is available and reconfigures the layout. all as i was expecting it to do
Re:macOS CLI tool to configure multi-display resolutions and... by asmor on Tuesday January 24, 2023 @02:58AM (#34500785)
I still use the macOS machine (either directly or via Synergy), so I need the have it only put the desktop on one of the screens.
Re:macOS CLI tool to configure multi-display resolutions and... by jakehilborn on Monday January 23, 2023 @06:34PM (#34496697)
The latest code on the master branch of displayplacer supports this. Run `displayplacer "id:34686E82-0CED-DF86-AFC7-AA1A8EB5CFC0 enabled:false"` with your screen ID and it will set the screen to all black plus remove the screen from the view of the OS. I'll cut the next release version after I add native Apple silicon support.