feat(foxtrot): seated gamescope gaming session + controller exit #665
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "foxtrot-gaming-session"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a "Gaming (gamescope)" wayland-session the display manager launches on its
own DRM seat. On its own seat gamescope owns input and Steam Input drives the
cursor natively (the Steam Deck model) — the only way to get controller-as-mouse.
Nested in niri, gamescope can't own the seat and Steam falls back to a frozen
XTest cursor. Seating it via the DM also gives Steam a real login session, so its
bwrap/runtime work (a hand-rolled systemd seat broke that).
gamingSessionPackage:[Desktop Entry]runninggamescope --backend drm -e -- steam -gamepadui, registered viaservices.displayManager.sessionPackages.steamos-session-selectstub turns Steam's "Switch to Desktop" into an exit:touch a sentinel → the
foxtrot-gamemode-exit.pathuser unit quits Steam +gamescope, returning to the greeter.
Status
The session seats and Steam runs in it (no cap/bwrap breakage). Still to confirm
before merge: controller-as-mouse actually moving the cursor in-game (per the
verify-before-merge habit). Opening now per always-open-a-PR.
Stacked on #656 (Steam migration). The greeter that makes login controller-only is
#664 on top of this.
🤖 Generated with Claude Code
https://claude.ai/code/session_01XX14i2xvfiY2TrYzm3A64c
Pull request closed