# app-misc/steam-autologin

Meson/pw-build-meson source project for `app-misc/steam-autologin`.

It installs:

- a PHP/pwphpbytecode wrapper at `/usr/libexec/steam-autologin/start-steam`
- a Steam autostart desktop file for the `autologin` user
- an AccountsService user file pinning `autologin` to the `gnome-xorg` session
- a Polkit rule allowing the `autologin` user to trigger Big Picture power actions

The wrapper disables GNOME session locking/idle sleep for the autologin session and then starts `steam -gamepadui`.

Global GDM configuration is intentionally handled by `sys-apps/pw-cfg-gdm`. Keep `WaylandEnable=true` there so normal GNOME Wayland remains available; this package only pins the dedicated Steam `autologin` user to Xorg via AccountsService (`Session=gnome-xorg`).

## Debug Access

Remote desktop/debug access is intentionally handled by `app-misc/remote-desktop-after-login`, not this Steam wrapper package.

## GNOME Overview cleanup

GNOME Wayland may show the Overview after autologin while Steam Big Picture is already running. The wrapper closes the Overview through GNOME Shell DBus by setting `org.gnome.Shell OverviewActive=false` after Steam launch/focus. This does not enable GNOME Shell `Eval`/unsafe mode and does not approve security prompts.
