Command to set screen rotation?
Is there a command line way to switch between portrait and dynamic screen orientation? Combined with the situations app, this would be great to set the screen to portrait while in bed at night.
Is there a command line way to switch between portrait and dynamic screen orientation? Combined with the situations app, this would be great to set the screen to portrait while in bed at night.
inside dconf there is /lipstick/orientationLock property, which is controlled by system settings in device category.
thank you very much!
For anyone stumbling accross this, the exact command I used was dconf write /lipstick/orientationLock \'portrait\'
for portrait (replace portrait with dynamic for auto rotation).
do you know that you can tap and turn the device ? example: dynamic orientation is on, you read in portrait you tap on app and turn the orientation. the orientation is now fixed to landscape
Thank you for your answer. Yes, I know about that, and while it is useful during the say, or for quickly locking the rotation within one app, it is rather annoying to have to re-do the gesture every time you switch apps.
mynameisnotimportant ( 2015-12-20 14:07:14 +0300 )Asked: 2015-12-20 08:58:15 +0300
Seen: 1,626 times
Last updated: Dec 20 '15