13

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.)

2 Answers2

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)

aGer
  • 201
0

This issue is very elusive for me so I'm not sure if my current fix will actually stay fixed. But what I did was to comment out any occurrence of Option "SoftButtonAreas" in /usr/share/X11/xorg.conf.d/50-synaptics.conf. However, this is not the way to do it. Rather I should override this file in something like /etc/X11/xorg.conf.d/my-synaptics.conf. I'll reboot and see if that breaks it again...