git clone http://github.com/bulletmark/libinput-gestures
cd libinput-gestures
sudo make install
sudo apt-get install xdotool wmctrl libinput-tools
sudo gpasswd -a $USER input
libinput-gestures-setup autostart
copy the conf file to ~/.config/
libinput-gestures-setup restart