Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 2382  / 2 Years ago, wed, december 29, 2021, 11:06:50

I'm having some problems with Google Chrome and my touchscreen in Ubuntu 14.04.



Basic touchscreen usage works fine, but if I double-tap on the touchscreen (the gesture for a right-click, as far as I can tell), then every time I touch the screen after that, it acts as if I've right-clicked.



This problem appears to be unique to Chrome; xterm, for example, acts normally.



Any suggestions?



Is there a way to get touchscreen events to act identically to mouse events? For example, I found where I can disable touch events (using chrome://flags/#touch-events), but that completely disables tap for left click.



Is anyone successfully using a touchscreen with Google Chrome in Ubuntu 14.04? (I'm working on this for a kiosk-style setup, so I'm using Ubuntu Server and nodm instead of Unity or another desktop shell, and my hardware's a little unusual also.)


More From » 14.04

 Answers
2

There are at least one possible solution that worked for me. :)



That problem could be solved for me with Chrome's --touch-devices command line parameter.



Determine X's input device id in a console by



xinput list


leading to



google-chrome --touch-devices=10


on my system.



To make Chrome always use this CLI flag, see:



How to set CLI flags for Google Chrome?



Chrome + Touchscreen + Unity (14.04)


[#23553] Wednesday, December 29, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
armis

Total Points: 38
Total Questions: 106
Total Answers: 118

Location: Mali
Member since Sat, Feb 12, 2022
2 Years ago
;