Files
game-server/players/p3_config/apps.json
bilal 16eb5ab230 Stabilize Steam startup and persistent user data in containers.
Run Steam Big Picture as dedicated steam user with persistent home-backed storage and document first-run bootstrap behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-18 19:59:01 +03:00

25 lines
808 B
JSON

{
"env": {
"PATH": "$(PATH):$(HOME)/.local/bin:/usr/games"
},
"apps": [
{
"name": "Desktop",
"image-path": "desktop.png"
},
{
"name": "Steam Big Picture",
"detached": [
"bash -lc 'id steam >/dev/null 2>&1 || useradd -m -s /bin/bash steam; mkdir -p /home/steam/.local/share/Steam /tmp/xdg-steam; chown -R steam:steam /home/steam /tmp/xdg-steam; runuser -u steam -- env DISPLAY=:99 HOME=/home/steam XDG_RUNTIME_DIR=/tmp/xdg-steam LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/games/steam -tenfoot -no-cef-sandbox -cef-disable-gpu -cef-disable-gpu-compositing'"
],
"prep-cmd": [
{
"do": "",
"undo": "bash -lc 'pkill -u steam -f \"/usr/games/steam\" || true'"
}
],
"image-path": "steam.png"
}
]
}