2015-08-07 05:51:07 |
Sebastian Nohn |
description |
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 |
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
---
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CurrentDesktop: GNOME
DistroRelease: Ubuntu 14.04
InstallationDate: Installed on 2015-08-06 (0 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
Package: xserver-xorg-input-synaptics-lts-utopic 1.8.1-1ubuntu1~trusty1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 3.16.0-45.60~14.04.1-generic 3.16.7-ckt14
Tags: trusty
Uname: Linux 3.16.0-45-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True |
|