this post was submitted on 19 Mar 2024
19 points (95.2% liked)

Linux Gaming

15355 readers
173 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 1 year ago
MODERATORS
 

I added a custom session to my display manager which starts Gamescope with the Steam Deck UI. This works great mostly, but exiting it is a challenge.

  • Trying to bring up the menu just blurs the screen. The menu can be navigated with the gamepad, but it does not show up. Submenus do show up (e.g. power settings).
  • With this menu's power settings, I can restart the computer, but the "switch to desktop mode" menu point just brings up an OSD saying "switching to desktops" which just stays there and does nothing. There is no (apparent) way to log out and end up back at the display manager.

So my questions are:

  • Is it possible to get the menu to show up at least? Is this a known issue?
  • Is there a way to "log out" to get to the display manager? Maybe it is possible to bind a custom command to the "switch to desktop mode" toggle?

Any help would be greatly appreciated!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 8 months ago* (last edited 8 months ago) (8 children)

I'm using this package: https://aur.archlinux.org/packages/gamescope-session-steam-git Looking at the source here: https://github.com/ChimeraOS/gamescope-session-steam/blob/main/usr/bin/steamos-session-select

You can see it looks for a script to shutdown steam or defaults to normal shutdown. I pointed os-session-select to a script that restarts my sddm service, before shutting down steam, so it returns me into the default session. It was a bit finicky though and I hacked a systemd service into it to ensure the script didn't get killed.

Hope this helps. Might clean it up some time and put it in a repository/on the aur.

EDIT: I was inspired by ChimeraOS; it uses that os-session-select for its main project as well to return to the gnome desktop.

[–] [email protected] 1 points 8 months ago (7 children)

That helps a lot, thank you! I will look at it. Would really appreciate if you shared your work. Do you have the problem where you don't see the menu or is this only me?

[–] [email protected] 1 points 8 months ago (6 children)

I haven't had the issue with the menu, never had as far as I remember. It might be because of the way you set up the session. If you try installing the aur package I linked and start that session, the menu hopefully just works as it did for me.

[–] [email protected] 1 points 8 months ago

Also, switching to desktop works now, but the menu is still invisible.

load more comments (5 replies)
load more comments (5 replies)
load more comments (5 replies)