Comment 0 for bug 1482506

Revision history for this message
Sebastian Nohn (sebastian-nohn) wrote :

After a fresh Ubuntu 14.04 install including all updates, the two-finger-tap gesture is not recognized as middle mouse button.

A workaround to fix this is this script:

#!/usr/bin/env bash
ID=$(xinput | grep Touchpad | awk '{ print $6 }' | cut -d "=" -f 2)
WHATEVER=$(xinput list-props $ID | grep "Tap Action" | cut -d "(" -f 2 | cut -d ")" -f 1)

xinput set-int-prop $ID $WHATEVER 8 2 3 0 0 1 2 3