From c18615a78e1ae108533d6e92089f66b40bd4bf4e Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 16 Jun 2026 02:19:03 +0000 Subject: [PATCH] fix: enable Wacom touch gestures on startup and update start.sh on upgrade Add xinput call to start.sh so Wacom HID 48E3 touch gesture support is initialized every time the kiosk starts, not just after lightdm restarts. Also add start.sh to the upgrade extraction list so it is updated in place instead of keeping the stale version from the original install. https://claude.ai/code/session_01EyjEQLWbTXcZgbMDarf7NU --- ubuntu-based-kiosk-v1.0.2.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ubuntu-based-kiosk-v1.0.2.sh b/ubuntu-based-kiosk-v1.0.2.sh index 2aa4bf0..95a8355 100644 --- a/ubuntu-based-kiosk-v1.0.2.sh +++ b/ubuntu-based-kiosk-v1.0.2.sh @@ -7345,6 +7345,9 @@ for i in {1..10}; do sleep 1 done +# Enable Wacom touch gesture support so two-finger swipe works after reboot +xinput set-prop "Wacom HID 48E3 Finger touch" "Wacom Enable Touch Gesture" 1 2>/dev/null || true + exec node_modules/electron/dist/electron . \ --no-sandbox --disable-gpu-sandbox --disable-dev-shm-usage \ --enable-features=UseOzonePlatform --ozone-platform=x11 \ @@ -11247,9 +11250,11 @@ upgrade_kiosk() { extract_file 'tee.*inactivity-prompt-extended\.html.*INACTHTML' 'INACTHTML' "$KIOSK_DIR/inactivity-prompt-extended.html" extract_file 'tee.*keyboard-button\.html.*BTNHTML' 'BTNHTML' "$KIOSK_DIR/keyboard-button.html" extract_file 'tee.*package\.json.*PKGJSON' 'PKGJSON' "$KIOSK_DIR/package.json" + extract_file 'tee.*start\.sh.*LAUNCHER' 'LAUNCHER' "$KIOSK_DIR/start.sh" - # Set ownership + # Set ownership and permissions sudo chown -R "$KIOSK_USER:$KIOSK_USER" "$KIOSK_DIR" + sudo chmod +x "$KIOSK_DIR/start.sh" echo "[5/6] Installing npm dependencies..." sudo -u "$KIOSK_USER" bash -lc "