Page 1 of 1

how to disable pinch to zoom with chrome

Posted: 03 Dec 2015, 22:20
by radu
everything working great.

one issue i need to figure out: when using chrome as the browser, the pinch to zoom feature is enabled, which is bad for a kiosk...

the chrome startup switch is --disable-pinch , but I am not sure how i could add this to the configuration...

thank you.

Re: how to disable pinch to zoom with chrome

Posted: 04 Dec 2015, 10:23
by fanthom
You need to follow customization doc:
http://porteus-kiosk.org/kiosk-customization.html

edit 003-settings.xzm/etc/xdg/openbox/autostart and comment out this line:

Code: Select all

# Activate touch gestures for Chrome:
[ "$chrome" ] && { id=`xinput_calibrator --list | head -n1 | cut -s -d= -f2-`; [ "$id" ] && echo -e "--touch-devices=$id\n--enable-pinch" >> $chflags; }
or just change '--enable-pinch' to '--disable-pinch' flag.

Good luck.