Hi,
I encountered a problem with returning to a desktop from gamescope session when I select "Switch to Desktop" in Steam.
Details. I use a CachyOS installation with the default set of packages, including Plasma Desktop and Plasma Login Manager. I manually installed the steam and gamescope-session-cachyos packages. After logging in to Gamescope session, Steam works just fine, but when I select Power > Switch to Desktop, Steam displays "Switching to Desktop" message and after that point it's neither possible to use Steam nor return to a desktop. Some Reddit users experience the same issue.
After looking into journalctl I figured out that /usr/lib/steamos/steam-set-session fails to write config file at this line because in my system /etc/plasmalogin.conf.d folder doesn't exist and script exits with error. This prevents running steam -shutdown in /usr/bin/steamos-session-select which called steam-set-session.
To fix this issue, steam-set-session script shall ensure first that .conf.d directories in /etc do exist before files are written there.
Hi,
I encountered a problem with returning to a desktop from gamescope session when I select "Switch to Desktop" in Steam.
Details. I use a CachyOS installation with the default set of packages, including Plasma Desktop and Plasma Login Manager. I manually installed the
steamandgamescope-session-cachyospackages. After logging in to Gamescope session, Steam works just fine, but when I select Power > Switch to Desktop, Steam displays "Switching to Desktop" message and after that point it's neither possible to use Steam nor return to a desktop. Some Reddit users experience the same issue.After looking into journalctl I figured out that
/usr/lib/steamos/steam-set-sessionfails to write config file at this line because in my system/etc/plasmalogin.conf.dfolder doesn't exist and script exits with error. This prevents runningsteam -shutdownin/usr/bin/steamos-session-selectwhich calledsteam-set-session.To fix this issue,
steam-set-sessionscript shall ensure first that.conf.ddirectories in/etcdo exist before files are written there.