Ubuntu – Ubuntu 16.04 multitouch gestures

16.04multi-touchtouchscreen

Is it possible to make multitouch gestures on Ubuntu Xenial Xerus? For example with TouchEgg? I tried already but without success.

Best Answer

I never succeeded in making it work with touchegg. But there is an easy way to achieve it with another tool. Here are the steps: At first download, compile libinput-gestures and install from git repository:

git clone http://github.com/bulletmark/libinput-gestures
cd libinput-gestures
sudo make install

Make sure libinput-tools and xdotool are installed:

sudo apt install libinput-tools xdotool

Make sure current user is in the input group to have permission to read the touchpad device:

sudo gpasswd -a $USER input  # Log out and back in to assign this group

Start libinput-gestures on every start up:

libinput-gestures-setup autostart

Now you can change your virtual workspace by swiping up an down. If you want to make some custom configuration, you should copy the configuration file to your home folder. You can then change it there.

cp /etc/libinput-gestures.conf ~/.config/libinput-gestures.conf
nano ~/.config/libinput-gestures.conf

Have a look at the git repository for further documentation: https://github.com/bulletmark/libinput-gestures

Don't forget to logout then login to see the changes taking effect.

Related Question