- Platform information:
- Hardware: Raspi 5, 16GB
- OS: Raspberry Pi OS Bookworm
- Java Runtime Environment: openjdk version “17.0.15” 2025-04-15
- openHAB version: openHAB 4.3.5 - Release Build
Does anyone have a working solution for a mainUI control panel on a (raspi) touchscreen dat includes working scrolling (gestures) when the page content does not fit the screen?
I am running a Raspberry Pi Touchscreen 2 with a 2 GB Raspberry Pi 4 as a kiosk with a 64 bit Raspberry Pi OS with desktop (Wayland with labwc). For the kiosk funtionality I’m running PiOSK. This is essentially a set of scripts that open a chromium browser in full screen mode, run a script to switch between pages (disabled: I only need the mainUI page) and a javascript webpage (different portnumber) for administrative purposes.
The problem that I’m facing is that on pages with too large a content for the 7" touchscreen I cannot scroll. There is no scrollbar (as in Windows Firefox and Mac OS Safari). Touch gestures are not working (as i.e. on a tablet). I’ve tried adding touch options to the chromium-browser but that does not work.
What is noticed is that the map page does support scrolling with finger gestures.
This is the chromium-browser startup command (last three options added by me).
#!/bin/bash
chromium-browser \
$(jq -r '.urls | map(.url) | join(" ")' /opt/piosk/config.json) \
--disable-component-update \
--disable-composited-antialiasing \
--disable-gpu-driver-bug-workarounds \
--disable-infobars \
--disable-low-res-tiling \
--disable-pinch \
--disable-session-crashed-bubble \
--disable-smooth-scrolling \
--enable-accelerated-video-decode \
--enable-gpu-rasterization \
--enable-low-end-device-mode \
--enable-oop-rasterization \
--force-device-scale-factor=1 \
--ignore-gpu-blocklist \
--kiosk \
--no-first-run \
--noerrdialogs \
--touch-events \
--pull-to-refresh \
--enable-natural-scroll-default
Or do I need to configure anything in the desktop system?