How to Enable / Configure Multi-Touch Gestures in Ubuntu 20.04 & Higher

Last updated: December 7, 2021 — 14 Comments

This simple tutorial shows how to enable & configure the multi-touch gestures in Ubuntu 20.04, Ubuntu 21.04, Ubuntu 21.10 using touchegg.

For those running Ubuntu on laptop or PC with external touchpad, multi-finger gestures enable users with more actions to control your system.

Since Ubuntu does not offer a utility to configure multi-touch functions, touchegg is a free open-source tool to enable this feature for you. And it supports for both global gestures or gestures for Firefox, Chromium, Google Chrome only.

Touchégg Enables Touchpad Gestures include:

  • Swipe up, down, left, and right with 3 fingers and/or 4 fingers.
  • Pinch in / out with 2, 3, and/or 4 fingers.
  • Tap with 2, 3, 4, and/or 5 fingers.

Actions you can set for touchpad gesture:

  • Minimize, Maximize, Restore, Close a window.
  • Tile a window.
  • Toggle full-screen.
  • Switch desktop.
  • Show desktop.
  • Execute a command.
  • Specify a keyboard shortcut, e.g., to open terminal, switch workspace, toggle activities overview.

Step 1: How to Install Touchégg Service in Ubuntu via PPA:

The software has an official PPA which so far supports for Ubuntu 20.04, Linux Mint 20, and higher.

1.) Firstly open terminal from system application launcher and run command to add the PPA:

sudo add-apt-repository ppa:touchegg/stable

Type user password, no asterisk feedback, when it asks and hit Enter to continue.

2.) Next run command to install the touchegg service via command:

sudo apt install touchegg

The service should run automatically once you installed it. To verify the status, run command:

systemctl status touchegg.service

It should show you ‘active (running)‘. If not, try to enable and start the service:

systemctl status touchegg.service && systemctl start touchegg.service

Step 2: Install Graphical Configuration tool: Touché

UPDATE (Nov 2021): It’s not a good idea in my own opinion, but they did it. The project does no longer provide native DEB package for the graphical configuration tool ‘Touché‘, though still maintains Ubuntu PPA with the package for the Touchégg system service. Some user do not like Flatpak since it requires hundreds of MB runtime libraries, while the app itself is only few dozen MB. For choice, you may use the GNOME Extension instead, see the link in bottom!

Now the project offers the graphical tool via universal Flatpak package runs in sandbox.

1.) Firstly, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to install the flatpak daemon first:

sudo apt install flatpak

2.) Next, run command to install the configuration tool via Flatpak:

flatpak install https://dl.flathub.org/repo/appstream/com.github.joseexposito.touche.flatpakref

Finally restart your system is required to make multi-touch work!

Step 3: Enable/Configure Multi-Touch Gestures

After restarted your system, search for and launch touché from Activities overview. When it opens, enable one or more finger gestures as you prefer. Then choose an action from the drop-down box.

Turn on the slider icons as you prefer, and select an action to do from the drop-down box. You may also simulate a keyboard shortcut, such as “Super” key to toggle overview and “Super+Pageup/Pagedn” to switch workspace.

The changes in touche apply immediately. And there’s also Gnome Extension to enable multi-touch gestures on X11. For more, see touchegg on github.

Uninstall Touchégg:

To remove the Touchégg service, open terminal and run command:

sudo apt remove --autoremove touchegg

And remove the Ubuntu PPA via command:

sudo add-apt-repository --remove ppa:touchegg/stable

For the graphical configuration tool Touché, remove it via command:

flatpak uninstall --delete-data com.github.joseexposito.touche

You may also run flatpak uninstall --unused to clean up disk space.

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to remind me outdated tutorial! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected] Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

14 responses to How to Enable / Configure Multi-Touch Gestures in Ubuntu 20.04 & Higher

  1. I followed this guide to install on Matebook, had a clean install of Ubuntu. Now I cant boot Ubuntu anymore.

  2. Hello I have a problem. this program does not work. I have followed all the steps, I even installed tocuhé to modify the settings and it did not work.
    do I need permission on touchegg or whatever?

    I use ubuntu 20.04 with X11 and my touchpad is ELand.
    Please, Help…

    • Check if the touchegg service working via:

      systemctl status touchegg.service

      And try to start it, if not running:

      systemctl start touchegg.service
      • Hi, thanks for your response.
        I already tried these commands. and I verified that Touchegg service is running but still does not apply any movement, even though, checking the terminal, when I execute the command “systemctl status touchegg.service” and make a gesture, it sends me ( only in console) a movement detection but very rarely.

  3. Thank you. This just reconcile with linux. 4 years ago touchpad config was lacking.

  4. I am very interested in using your Touchegg UI, but cannot get the service to start after the PPA is added and the package installed.

    Any suggestions?

    Thank you,

    Steve

  5. How do I uninstall all of it?

  6. Tank you it’s working

  7. i just a scammer to stolen all your personal information,uninstall immediately!!!

  8. i can’t use gui if i use x11 extension ?

  9. works brilliantly, thank you!

  10. Will this guide work for Macbook pro 2015 Dual-Boot with Ubuntu 22.04 ?
    (I’m struggling with that for 2 days, googling again and again without an answer)

    Ubuntu is AMAZING but using the touch-pad is a nightmare..

    – the need to strong press for a click.. how can I modify this preference to press like-in-mac, gentle pressing with comfort ?
    – how to disable the sound of a click ?
    – how to decrease the sensitivity of scrolling with two fingers on a website ?(Firefox)
    it’s too fast.. not usable.

    Does anyone has a solution for that?

    Thank you !

  11. great article! Thank you

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.