Update compose security settings and player app configs to improve Steam startup behavior, add desktop/manual launch entries for debugging, and align launch commands across all player profiles. Co-authored-by: Cursor <cursoragent@cursor.com>
47 lines
2.0 KiB
JSON
47 lines
2.0 KiB
JSON
{
|
|
"env": {
|
|
"PATH": "$(PATH):$(HOME)/.local/bin:/usr/games"
|
|
},
|
|
"apps": [
|
|
{
|
|
"name": "Steam Big Picture",
|
|
"detached": [
|
|
"bash -lc 'id steam >/dev/null 2>&1 || useradd -m -s /bin/bash steam; ROOT=/home/steam/.local/share/Steam/debian-installation; mkdir -p ${ROOT} /tmp/xdg-steam /home/steam/tmp; ln -sfn /home/steam/.local/share/Steam /home/steam/.steam; chown -R steam:steam /home/steam /tmp/xdg-steam; pkill -u steam -f \"steam|steamwebhelper|steam-runtime\" >/dev/null 2>&1 || true; sleep 1; runuser -u steam -- env DISPLAY=:99 HOME=/home/steam XDG_RUNTIME_DIR=/tmp/xdg-steam TMPDIR=/home/steam/tmp LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 nohup bash -lc \"cd ${ROOT} && exec /usr/games/steam -gamepadui -fullscreen -no-cef-sandbox\" >/home/steam/steam-app.log 2>&1 < /dev/null &'"
|
|
],
|
|
"prep-cmd": [
|
|
{
|
|
"do": "",
|
|
"undo": ""
|
|
}
|
|
],
|
|
"image-path": "steam.png"
|
|
},
|
|
{
|
|
"name": "Desktop Test",
|
|
"detached": [
|
|
"bash -lc 'echo desktop-test-started >/tmp/desktop-test.log'"
|
|
],
|
|
"prep-cmd": [
|
|
{
|
|
"do": "",
|
|
"undo": ""
|
|
}
|
|
],
|
|
"image-path": "desktop.png"
|
|
},
|
|
{
|
|
"name": "Steam Manual Start",
|
|
"detached": [
|
|
"bash -lc 'id steam >/dev/null 2>&1 || useradd -m -s /bin/bash steam; ROOT=/home/steam/.local/share/Steam/debian-installation; mkdir -p ${ROOT} /tmp/xdg-steam /home/steam/tmp; ln -sfn /home/steam/.local/share/Steam /home/steam/.steam; chown -R steam:steam /home/steam /tmp/xdg-steam; pkill -u steam -f \"steam|steamwebhelper|steam-runtime\" >/dev/null 2>&1 || true; sleep 1; runuser -u steam -- env DISPLAY=:99 HOME=/home/steam XDG_RUNTIME_DIR=/tmp/xdg-steam TMPDIR=/home/steam/tmp LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 nohup bash -lc \"cd ${ROOT} && exec /usr/games/steam -gamepadui -fullscreen -no-cef-sandbox\" >/home/steam/steam-app.log 2>&1 < /dev/null &'"
|
|
],
|
|
"prep-cmd": [
|
|
{
|
|
"do": "",
|
|
"undo": ""
|
|
}
|
|
],
|
|
"image-path": "steam.png"
|
|
}
|
|
]
|
|
}
|