Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I published a CLI for doing rotation for any display here: https://github.com/alin23/mac-utils/blob/main/bin/RotateDisp...

Source code in the same repo: https://github.com/alin23/mac-utils/blob/main/RotateDisplay....

As long as the system reports `true` for `canChangeOrientation`, then the CLI should work.

Lunar (https://lunar.fyi/) can also do that and provides some useful hotkeys if you happen to rotate displays often: https://files.alinpanaitiu.com/2106f2eac02df0c3eec379ef19965...



Do any of these methods work to rotate a Sidecar display? Right now I’m using BetterDisplay to creat a dummy and then rotate and stream that dummy to the Sidecar display, but it’s a bit unwieldy and sometimes unreliable (due to an Apple bug apparently).


Unfortunately not, the system reports false for canChangeOrientation on a Sidecar display:

    mac-utils  ./bin/RotateDisplay sidecar 0
    ID  UUID                                Can Change Orientation  Orientation Name
    1   37D8832A-2D66-02CA-B9F7-8F30A301B230    true                    0°          Built-in Liquid Retina XDR Display
    6   BF8D0007-9573-49E5-8130-75991ECB2F15    false                   0°          Sidecar
    4   FB46E28E-5B98-475A-A610-C15237238C8D    true                    0°          LG Ultra HD

    The display does not support changing orientation: Sidecar [ID: 6]


I see… Thanks for confirming!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: