how to achieve multi touch gestures in ubuntu 14.04
Yes, it is possible:
Installation
- install touchegg:
sudo apt-get install touchegg
-
install Touchegg-GCE: You have to
git clone
(or download) Touchegg-GCE from github and then manually compile it, it needs qt4 sosudo apt-get install qt4-dev-tools
then open a terminal into the Touchegg-GCE directory and type/usr/bin/qmake-qt4
andmake
. Now launch touchegg-gce and configure your gestures.Autostart and configuration: into
~/.config/autostart/
-
create an executable (
chmod +x touch.sh
) script touch.sh with the following code. It is necessary to disable the default behaviour of the trackpad for 2-3 fingers gestures#!/bin/bash synclient TapButton2=0 synclient TapButton3=0 synclient ClickFinger2=0 synclient ClickFinger3=0 synclient HorizTwoFingerScroll=0 synclient VertTwoFingerScroll=0
-
create two launchers: one for the script(1) and the other for touchegg(2).
(1) touch.desktop
[Desktop Entry] Type=Application Exec=/home/<user>/.config/autostart/touch.sh Hidden=false NoDisplay=false X-GNOME-Autostart-enabled=true Name[it_IT]=TouchScript Name=TouchScript Comment[it_IT]=Enable Touchegg 2-3 fingers Comment=Enable Touchegg 2-3 fingers
(2) touchegg.desktop
[Desktop Entry] Name=Touchegg GenericName=Touchégg Comment=Touchégg Gestures Manager Exec=/usr/bin/touchegg %u Terminal=false Type=Application Name[it_IT]=touchegg.desktop
I have not been able to get multitouch gestures support with touchegg on Unity. However, after installing Ubuntu Gnome 14.04, touchegg works like a charm.