I'm running Ubuntu 18.10 on my HP ZBook Studio G3. When running the default DE on Wayland (by clicking the Ubuntu Wayland option on the login screen), I get the following touchpad gestrures by default:
-two finger scrolling
-four finger swiping between desktops
-three finger pinching to open 'Activities'
However, only the two finger scrolling gesture can be configured in the touchpad settings. Does anyone know where/how to configure the other two gestures?
https://extensions.gnome.org/extension/1253/extended-gestures/
Works on Pop Os Wayland...tried other things (not fusuma) but the problem was xdtools was not supported in wayland
The extension worked perfectly though.
Now with wayland as the default session, people (like me) tends to find how to get
LibInput
working with wayland. Four-finger up and down gestures are supported by default. Here's How to configure Three finger up and down gestures for switching workspaces on wayland (gnome and kde)So, this is the solution for you too.
Wayland doesn't support
xdotool
. which means you can't map gestures to keyboard shortcuts. But you can map it intowmctrl
via a external script.~/.config/libinput-gestures.conf
with content~/.config/scripts/wsdown
with content~/.config/scripts/wsup
with contentYou can also automate this by cloning the repo https://github.com/HasinduLanka/FreshLinux and running
config.gestures.sh
script . It will download and install libinput-gestures, configure 3 finger gestures for you.Make sure to restart the computer after installing libinput-gestures.
I guess a simple article like the following would be able to solve your query to the highest extent
https://italolelis.com/posts/multitouch-gestures-ubuntu-fusuma/
With the mentioned above article you would be able to install
fusuma
and make changes to theconfig.yml
that you have to manually create under/.config
. You can add your favored gesture along with which keys it would bind.If you need any more help please ask for it.