How to manually change the screen orientation ?
-
@ub Do you want a one thing change of orientation or something that you can toggle?
-
@kugiigi I only need a one thing change, I'm okay with that. Do you know a way?
-
I checked the lock
Did you try to reboot your phone to check if the feature really doesn't work ?
-
@ub So you basically want your phone to be always in landscape?
there's a configuration to change the native orientation of a device.Or if you want, I can make you patch to use the rotation lock setting to change between portrait and landscape
-
@kugiigi No I actually didn't explain well what I want. I want to be able to switch from portrait to landscape (and vice versa), that's what I want.
Making a patch would be nice, I would appreciate but would you mind telling me how I can do that by myself ? Unless this is too complex of course.
The thing is that I want to improve my skills in programming/scripting. I'd be fine if this requires QML code. I didn't find much about it in the doc though... -
@domubpkm Yes I did. This didn't solve the issue. Maybe I should factory reset.
-
@ub Strange. You can try to change the channel with phone system settings or flash again the phone using the UBports installer (without wipe data option).
-
@ub Try to check of your sensor is really broken. I had the same rotation problem on my Nexus 7 2013 but not on my Nexus 5. Anyway, in case you really want a patch, I actually created a script to install custom patches in UT. I can point you to that script and provide a package with the patch you need.
-
-
@ub I was able to create a patch where if rotation is locked, it'll switch to portrait when unlocked, it'll switch to landscape. You can try the script I created (https://github.com/kugiigi/jerk-installer) to easily install and uninstall it or I can provide you the single QML file for it. Not yet sure where to put the files though. If you have telegram, I can send them to you.
-
Hi!
Perhaps it is an "app issue"? Some apps are restricted to a certain screen orientation. You could check in ~.local/share/applications, in the .desktop files. Some apps have a setting called
X-Ubuntu-Supported-Orientations=
Possible values are
primary, portrait, inverted-portrait, landscape, inverted-landscape
perhaps it helps to change it there.
-
@kugiigi said in How to manually change the screen orientation ?:
@ub I was able to create a patch where if rotation is locked, it'll switch to portrait when unlocked, it'll switch to landscape. You can try the script I created (https://github.com/kugiigi/jerk-installer) to easily install and uninstall it or I can provide you the single QML file for it. Not yet sure where to put the files though. If you have telegram, I can send them to you.
Put it somewhere public (in jerk-installer/sample-packages?) please. Last week I thought such feature (manualy rotate screen if rotation is locked) would be great for me. I now I read you made something similar. I would like to try it too.
Thanks.
-
-
@kugiigi said in How to manually change the screen orientation ?:
@jezek I created a separate repo. Check the ManualOrientation under Lomiri.
Thank you.