Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to swap primary display when second display doesn't appear in System Settings > Displays #130

Open
mrengy opened this issue Nov 13, 2023 · 1 comment

Comments

@mrengy
Copy link

mrengy commented Nov 13, 2023

I'm using a MacBook Pro built-in monitor on MacOS 13.6.2, Duet for Mac version 2.3.3.3 and an external monitor using Duet Display on an old iPad (iPad 2, Duet for iOS 2.1.7, iOS 9.3.5 - the max for this device). Under the current version of Duet for Mac, it doesn't connect successfully on the iPad, so I'm having to use an old version.

In this arrangement, MacOS always sets the iPad as the primary display and puts the dock there. I want to change it so that the laptop is the primary display.

I know the displayplacer instructions say to use System Settings > Displays to arrange the displays as desired and then get the output using the displayplacer command, but System Settings > Delays does not recognize the external display, even when it is connected and showing an extension of my desktop. I also saw #19 which depended on the same thing.

System Settings > Displays showing only the built in display

Is there a command-line command I can use to swap the primary display without having to rely on the UI in System Settings > Displays?

@jgenunez
Copy link

jgenunez commented May 27, 2024

Primary display can be set from the command line with origin(0,0). If you have a mirroring set then ensure you put FIRST whichever display you want it to optimize for. However it sounds like your external Duet display is not detected at all.

Also I found that the displayplacer commands to set a profile stops working after repeated use. The only way I was able to workaround this was to restart my computer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants