Force orientation in desktop mode on Bazzite deck?
Is there a way to permanently force orientation in desktop mode? Currently running Bazzite deck on the Legion Go, and no matter how many times I correct the screen rotation in display settings, it still always opens upside-down on desktop mode.
26 Replies
Solution
Try disabling wayland, edit
/etc/default/wayland-desktop
to be falseThat seems to have fixed the issue. Nested Desktop still working too π
@MikeNS this might be useful for you too
@Aru If you're on KDE and want to use Wayland, I've got a script that can fix this issue.
oh? yeah, i'd definitely be interested
btw the rotation problem seems to be a non-issue on deck-gnome. or at least, I didn't encounter the issue when I ran deck-gnome before switching to KDE
Yes, please share you script I am ready to try.
@Aru @MikeNS https://github.com/d3-X-t3r/LinuxThings/blob/main/bazzite-rotation-fix.sh
- Save this script somewhere and mark it as executabe (chmod +x ./bazzite-rotation-fix.sh)
- Add it to your KDE Autostart config (Menu > search for Autostart > Add)
GitHub
LinuxThings/bazzite-rotation-fix.sh at main Β· d3-X-t3r/LinuxThings
Misc scripts/fixes/tweaks/notes for varions Linux things - d3-X-t3r/LinuxThings
Great, I will try and report back after my Turkey
I'm confused on the second part
Add the fix Bazitte sh to the autostart folder or?
Just add it from KDE's Autostart settings. Settings > Startup and Shutdown > Autostart. Click the "Add..." button > Add application and type the path to the script (or use the browse button) .
Sorry, can you please share a quick video or screenshot
The orientation is now flip landscape
Just edit the script and change the direction, the comment shows value
Thanks, I'll test this as well once I get a chance. I wonder if this would affect nested desktop? π€
Good question. I don't use nested desktop myself so if you test it out, lemme know how that goes. π
I'm assuming I might need to add an extra check for gamescope session, which shouldn't be too hard
Sorry, what line in the script is the orientation?
Line 32
Change "normal" to right, normal, left or inverted
Changing to left did the trick.
Nice π
Is it possible to add steam patch to autostart, for the controller?
Sure, just follow the same process, just add to Autostarts.
I need to convert from .toml to .sh
It does indeed affect nested desktop. Fix was simple though, just add an if statement for the entire script body: