[Touch] No touch works at all

Bug #1526430 reported by Krzysztof
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
New
Undecided
Unassigned

Bug Description

Right after installing 14.04 finger touch worked all right with Chromium (Wacom touchscreen): I could at least scroll pages and go back/forward. However, at some point, after one of updates, it stopped. I have no idea how it was before, but following code added to the /usr/bin/chromium-browser brings touch back:

finger_id=$(xinput list | grep "Finger touch")
if [ ${#finger_id} != 0 ]; then
  finger_id=${finger_id#*id=}
  finger_id=$(expr match "$finger_id" '\([0-9]*\).*')
  CHROMIUM_FLAGS="$CHROMIUM_FLAGS --touch-devices=$finger_id"
fi

I'm not professional in coding, so this may be clumsy, but perhaps a better version of the above can be added when the script is updated.

Attached, a patched version of the script.

Revision history for this message
Krzysztof (kkord) wrote :
summary: - Change suggestion for touch support
+ [Touch] No touch works at all
tags: added: desktop-touch patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.