From f40d8e337c9fcc9ead7d506085f160091b86a837 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 16 Jun 2026 01:16:58 +0000 Subject: [PATCH] fix: add --touch-events=enabled to Electron launch flags With --ozone-platform=x11, Chromium defaults touch event detection to 'auto' and may not identify the hardware as a touchscreen, so touchstart/ touchend never fire in the renderer. --touch-events=enabled forces W3C touch events on unconditionally, restoring two-finger swipe navigation. https://claude.ai/code/session_01EyjEQLWbTXcZgbMDarf7NU --- ubuntu-based-kiosk-v1.0.2.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ubuntu-based-kiosk-v1.0.2.sh b/ubuntu-based-kiosk-v1.0.2.sh index a9dfeb5..f05f692 100644 --- a/ubuntu-based-kiosk-v1.0.2.sh +++ b/ubuntu-based-kiosk-v1.0.2.sh @@ -7303,6 +7303,7 @@ done exec node_modules/electron/dist/electron . \ --no-sandbox --disable-gpu-sandbox --disable-dev-shm-usage \ --enable-features=UseOzonePlatform --ozone-platform=x11 \ + --touch-events=enabled \ --enable-audio-service-sandbox=false --autoplay-policy=no-user-gesture-required \ 2>&1 | tee -a /home/kiosk/electron.log LAUNCHER