Out of the box, I get gestures for scrolling and right clicking. I'm very interested in three finger gestures (like slide three fingers up to see all open windows), but it seems there is no way to get those working.
I have tried with the Extended Gestures GNOME-shell extension and touchegg, neither of which are working.
Any ideas on how to get these?
Fusuma
I am using XPS 15 with Ubuntu 18.04 (X.org). I have managed to get multi-gestures working for me. Kohei Yamada has developed an application called Fusuma to enable multi-touch gestures on Linux. It requires you to install Ruby on your machine if it isn't already installed.
Follow the instructions from fusuma GitHub's Readme page or you could follow these steps which worked for me:
First of all check if your current user is part of the input group. You can do that by
Then log out and log back in. Now install xdotool and libinput-tools.
If you haven't installed Ruby you can do that now:
Now install fusuma
Deciding your gestures
This is basically creating a
.yml
file with the desired configuration. If you want standard gestures you can follow these instructions or feel free to tweak around to get desired gestures.Go to your config folder in home directory.
Now create a folder named
fusuma
In there create a file called
config.yml
Now you can use your favourite text editor to enter the contents in this file.
Copy and paste the following instructions if you are using GNOME, which is the default environment in 18.04.
Note that the gestures that this configuration has created for you are the following:
Mult-touch Gesture → Action
3 Fingers - Left → Go Next on Browser
3 Fingers - Right → Go Back on Browser
3 Fingers - Up → Show all Windows
3 Fingers - Down → Close Exposé (Esc
4 Fingers - Left → Next Deskto
4 Fingers - Right → Previous Desktop
4 Fingers - Up → Next Desktop
4 Fingers - Down → Previous Deskto
After this you can run the command in terminal to test if it has installed
nothing will happen in the terminal. Just start using your multi-touch gestures - swipe away on your touchpad.
Now all you have to do is add Fusuma and the command for it in your start-up applications.
Ubuntu 18.04 uses X.Org as the default display server instead of Wayland. The mentioned Extended Gestures extension currently works only with Wayland.
What you need to do is choose Wayland while logging in after a restart. This link shows the same procedure but the other way around (from Wayland to X.Org).
Simply search for "Startup application" by pressing the super key (windows key in my case) then add a new application. Add the command
fusuma
and then reboot to test it.Working on 18.10 (XPS 9570).
You can simply download "Extended Gestures" from Ubuntu Software! but, it depends on your PC and doesn't work properly for all PCs
OR if you prefer the hard way, install "Ubuntu touchpad Gestures":
Download the zip file from this link which contains the installation script
Run the following command in the terminal to install the dependencies and download, compile and install the latest source code:
After rebooting to complete the installation, open "Gestures" from the application menu.
Now, you can customize your own gestures!
Use the following command to remove it using the same script:
I use libinput-gestures with the following configuration:
I use Comfortable Swipe
which I feel perform better than
fusuma
.