From d0c551d23a7b840570763b0f6eeb5ab2398df1b2 Mon Sep 17 00:00:00 2001 From: rickpeters Date: Mon, 28 Sep 2026 17:45:00 +0200 Subject: [PATCH] docs: steam-machine-iso: one log Konsole for every build --- .claude/skills/steam-machine-iso/SKILL.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.claude/skills/steam-machine-iso/SKILL.md b/.claude/skills/steam-machine-iso/SKILL.md index b7850b0..ead0189 100644 --- a/.claude/skills/steam-machine-iso/SKILL.md +++ b/.claude/skills/steam-machine-iso/SKILL.md @@ -36,8 +36,13 @@ setup during the install. Two repos: The user watches the Steam Machine over Moonlight: run builds and tests in a Konsole on its desktop (or open one that follows the log), never hidden. +Open that Konsole only when none follows the log yet: `tail -F` picks up +each new build's log by itself, so one window serves every build (check with +`pgrep -af "tail -n 50 -F"` on the Steam Machine; never `pkill -f` that +pattern from a remote command, it kills its own shell). + ```bash -ssh steammachine bash -c "'export XDG_RUNTIME_DIR=/run/user/1000 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus; systemd-run --user -q konsole --hold -e bash -c \"tail -n 50 -F ~/projects/iso-build.log\"'" +ssh steammachine bash -c "'pgrep -f \"tail -n 50 -F\" >/dev/null || { export XDG_RUNTIME_DIR=/run/user/1000 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus; systemd-run --user -q konsole --hold -e bash -c \"tail -n 50 -F ~/projects/iso-build.log\"; }'" ``` ## Steam Machine gotchas