← Back to team overview

desktop-packages team mailing list archive

[Bug 1526430] [NEW] Change suggestion for touch support

 

Public bug reported:

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.

** Affects: chromium-browser (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Patched version of the chromium startup script"
   https://bugs.launchpad.net/bugs/1526430/+attachment/4535174/+files/chromium-browser

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1526430

Title:
  Change suggestion for touch support

Status in chromium-browser package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1526430/+subscriptions