From bc50fdf1caa49a091143b97a6d51f711b759e702 Mon Sep 17 00:00:00 2001 From: jenz Date: Tue, 4 Aug 2026 14:08:39 +0100 Subject: [PATCH] double slachback should finally make path work correctly so keyboard wont failt --- streaming-agent/signaling-server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streaming-agent/signaling-server.js b/streaming-agent/signaling-server.js index 7d5996f..8ea6ffc 100644 --- a/streaming-agent/signaling-server.js +++ b/streaming-agent/signaling-server.js @@ -292,7 +292,7 @@ function performCssRestart(reason) { // has always found xdotool fine. Explicitly ensure common binary // paths are present here too, since this exact command was // silently failing with "xdotool: not found" every time. - execSync(`docker exec ${CONTAINER} bash -c "export PATH=\$PATH:/usr/bin:/usr/local/bin:/bin; DISPLAY=:99 WIN=\$(xdotool search --name '' | head -1) && xdotool windowfocus --sync \$WIN" || true`); + execSync(`docker exec ${CONTAINER} bash -c "export PATH=\\$PATH:/usr/bin:/usr/local/bin:/bin; DISPLAY=:99 WIN=\\$(xdotool search --name '' | head -1) && xdotool windowfocus --sync \\$WIN" || true`); console.log('[sig] CSS restart: focused new window'); } catch (e) { console.error('[sig] CSS restart: failed to focus new window:', e.message);