-
Notifications
You must be signed in to change notification settings - Fork 7
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
Screen rotation #13
Comments
@jvarn No I don't believe there is a way. There is an app that might be able to do it. I think it's better display or something but it's paid. It allows you to set custom resolutions but don't know if it can rotate. The built in rotation sensor won't ever work for macOS so without that it's difficult to rotate. |
While auto rotation won't work, it is possible to rotate the screen by clicking on Display Settings in Control Center while holding down Alt/Option in order for the Rotation option to appear. However, only 180 and 0 (Standard) apply directly consistently; if 90 or 270 are selected, sometimes the screen rotates, but other tines the screen goes black. I haven't managed to identify a pattern of when it will work and when not. When it does goes black, if I am using Remote Desktop, I can see that the screen is still responsive to touch and clicks on the device (the mouse pointer moves on the remotely viewed display, but neither Finder nor any apps are responsive. Likewise, it is still responsive via secure shell. I read online somewhere that if you then switch the computer off and then on again, the screen will be rotated on the next boot. This is correct, but seemed unnecessary, so I tried simply clicking on 90 or 270, and then forcing a logout over ssh using So with a bit of experimentation, I put together an AppleScript that uses the Homebrew formula Here's the script, in case anyone would like to use it or indeed improve it:
And for 270:
For 180:
For 0:
For those times when it starts giving me a black screen, I've been experimenting with this approach to force a logout after rotating the screen:
|
Also, I can't get any of the portrait screen resolutions listed by
Well, not that I tried every single one. |
Is there any way to get 90°/270° screen rotation to work without having to force a logout (via script or ssh)?
The text was updated successfully, but these errors were encountered: