Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Local display scaling options
#11
I'm adding this in case someone with a similar problem stumbles upon this thread.

A satisfying solution to me was to launch the browser in mobile mode.
A command that worked for me in portrait mode is below. A few minutes of trying landscape had the touch elements out of sync with the display but I intended to use portrait so I didn't spend time figuring it out. 

edit the file ~/.xinitrc so that it runs the browser with these options:
Code:
chromium-browser --user-agent="Mozilla/5.0 (Linux; Android 12; Pixel 6 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.5481.177 Mobile Safari/537.36" \
--app="http://localhost/" \
--window-size="360,640" \
--force-device-scale-factor=2.0 \
--window-position="0,0" \
--enable-features="OverlayScrollbar" \
--no-first-run \
--disable-infobars \
--disable-session-crashed-bubble \
--kiosk

All the best!
Reply


Forum Jump: