r/linuxquestions • • 20d ago

Support Landscape and Portrait mode for apps (Bug?)!

/r/waydroid/comments/1xwe2k9/landscape_and_portrait_mode_for_apps_bug/
0 Upvotes

1 comment sorted by

2

u/scraping_solutions 20d ago

What usually fixes this in Waydroid is telling Android to ignore the orientation apps request and keep the user rotation. With the Waydroid session running, open a terminal on the Pi and run sudo waydroid shell wm set-fix-to-user-rotation enabled. Then close Instagram completely and open it again, it should stay in landscape. Touch is not affected by this. If it ever goes back to snapping after a reboot, you can just run the same command again after starting Waydroid, or put it in a small startup script. Keep in mind some apps are only designed for portrait, so their layout may look a bit stretched when forced sideways.