I recently set up my new Matebook 13 with some nice touchpad gestures on elementary OS, and it works great. Since I like to share, here is how to enable said gestures, and create them on the fly on your own system. These commands will work on Ubuntu, or anything based on Ubuntu, but you can adapt them for your own distro if needed.
Support the channel on Patreon:
https://www.patreon.com/thelinuxexperimentFollow me on Twitter :
http://twitter.com/thelinuxEXPWhat I use to make my videos:
Microphone:
https://amzn.to/2PsNWXlGPU:
https://amzn.to/2LHZ5o5Motherboard:
https://amzn.to/2KZt63tCPU:
https://amzn.to/2IFjKrw----------
Libinput-Gestures Link:
https://github.com/bulletmark/libinput-gesturesGestures App Link:
https://gitlab.com/cunidev/gesturesList of keycodes:
https://gitlab.com/cunidev/gestures/wikis/xdotool-list-of-key-codesCommands:
sudo gpasswd -a $USER input
sudo apt-get install wmctrl python3 python3-setuptools xdotool python3-gi libinput-tools python-gobject
cd Downloads/libinput-gestures
sudo make install
cd Downloads/gestures
sudo python3 setup.py install
Installing Libinput
To add gestures on Linux, you'll need Libinput-gestures, which is a little library that can detect and recognize the various multitouch gestures on your trackpad.
To install it, the procedure is pretty easy.
First, you'll have to add your user to the INPUT group, so you're allowed to use the gestures. Just open a terminal, and type:
sudo gpasswd -a $USER input
Once you've entered your password, and the command is done, you'll need to log out, and log back in.
Next, let's install some packages we'll need to begin:
In your terminal, type:
sudo apt-get install wmctrl python3 python3-setuptools xdotool python3-gi libinput-tools python-gobject
These packages will allow you to map gestures to specific key presses, and to use an app for creating the gestures.
Then, we'll download and install libinput-gestures.
head to the github page of the project, and download the archive. Extract it to your Downloads folder.
Then, open a terminal, and type:
cd Downloads/libinput-gestures-master
sudo make install
Everything should now be installed correctly. We'll just need to make sure libinput gestures starts with the system, so we'll type in the terminal:
libinput-gestures-setup autostart
libinput-gestures-setup start
Installing the Gestures app
To create your own gestures, there is a handy little app that allows you to select which gesture you want, and the command you want to run when the gesture is detected. It's called "Gestures".
head to the Github page (again, link in the description below), and download the archive. Extract it to your Downloads folder.
Then, in your terminal, type:
cd Downloads/gestures
sudo python3 setup.py install
There you
...
https://www.youtube.com/watch?v=ArBCfhVsTZw