SteamDeck add info game mode
authorNiki Roo <niki@nikiroo.be>
Fri, 28 Feb 2025 11:50:47 +0000 (12:50 +0100)
committerNiki Roo <niki@nikiroo.be>
Fri, 28 Feb 2025 11:50:47 +0000 (12:50 +0100)
Tech/SteamDeck/game-mode.md

index 73145db9d5eb326c5824098b44837eae8b334940..137322b552b89e91c99cb6d732315da10e9bda3b 100644 (file)
@@ -1,5 +1,12 @@
 # Game Mode
 
+## Option 1
+
+unset LD_PRELOAD
+exec startplasma-wayland --xwayland --x11-display $DISPLAY --no-lockscreen --width 1280 --height 800 -- plasma_session
+
+## Option 2
+
 I don't know if you still need help with this but maybe someone else does.
 Konsole is a Qt application so it uses the standard Qt command line options to set window geometry:
 LD_PRELOAD=${LD_PRELOAD/_32/_64} QT_SCALE_FACTOR=1.25 %command% --fullscreen --notransparency --new-tab --hide-menubar --qwindowgeometry 1024x640