What you need to do it disable the Unity default gestures:
1. You have to download the Unity sourcecode:
sudo apt-get build-dep unity
cd /tmp
mkdir unity
cd unity
apt-get source unity
2. We the have to edit a file:
sudo gedit /tmp/unity/unity-*/plugins/unityshell/src/unityshell.cpp
Then find: void UnityScreen::InitGesturesSupport()
and comment out (add # to the start of the line) all the lines the start with gestures_
that are in between the { and }
3. Now we have to rebuild the .deb file and install it
cd /tmp/unity/unity-*
dpkg-buildpackage -us -uc -nc
cd ..
sudo dpkg -i *deb
sudo apt-get -f install
sudo apt-get autoremove
NOTE: You may want to stop Unity upgrading as it will re-activate the gestures if it does. this can be done by running the following command:
echo "unity hold"|sudo dpkg --set-selections
4.Reboot
If it still isn't working after the reboot you may need to run some extra commands:
synclient TapButton2=0
synclient TapButton3=0
synclient ClickFinger2=0
synclient ClickFinger3=0
synclient HorizTwoFingerScroll=0
synclient VertTwoFingerScroll=0
Hopefully this get you up and running
Best Answer
I have found a much easier solution: just create a file ".xprofile" in your home folder with the following content:
The first two lines are only needed if you want to use gestures with three fingers. If you leave them out, touchegg will only recongnize gestures with 4 or more fingers.
Alternatively, run the following command that does the same:
Tochegg will also start on every boot. This worked for me on Ubuntu 15.04 and Ubuntu Gnome 15.04 and should work on any other Ubuntu version.