{"id":46690,"date":"2024-06-06T12:18:56","date_gmt":"2024-06-06T12:18:56","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=46690"},"modified":"2025-07-03T06:22:53","modified_gmt":"2025-07-03T06:22:53","slug":"enable-enhance-touchpad-gestures-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/06\/enable-enhance-touchpad-gestures-ubuntu\/","title":{"rendered":"Enable &#038; Enhance Touchpad Gestures in Ubuntu 24.04 | 22.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/touchpad-icon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-40004\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/touchpad-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/touchpad-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/touchpad-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/touchpad-icon-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/touchpad-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/touchpad-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p><b>This tutorial shows how to enable (or improve) touchpad gestures in Ubuntu 24.04, Ubuntu 22.04. Not only for the default GNOME (both X &amp; Wayland), but also for XFCE, MATE, and other desktop environments.<\/b><\/p>\n<p>GNOME introduced multi-touch gestures support since v40, however, it only works on the default Wayland session, and supports only 3 finger swipe gestures. For more gestures, GNOME on Xorg, and other desktop environments, you can choose either option below:<\/p>\n<ul>\n<li><b>Gesture Improvements<\/b> extension (GNOME only) &#8211; enable 4-finger swipe and pinch gestures, support both Xorg and Wayland.<\/li>\n<li><b>Touchegg<\/b> &#8211; for all desktop environments on X, including GNOME on Xorg, but not for Wayland.<\/li>\n<\/ul>\n<p><!--more--><\/p>\n<h3>Option 1: Use Extension for GNOME on both Wayland and Xorg<\/h3>\n<p>For the default GNOME Desktop from version <b>40<\/b> to <b>46<\/b>, there&#8217;s an extension to improve the default multi-touch gestures on Wayland, and\/or enable the feature for the classic Xorg session.<\/p>\n<p>With the extension, your Ubuntu (or other Linux with GNOME) allows to:<\/p>\n<ul>\n<li>use <b>4-finger swipe left\/right<\/b> to switch workspace.<\/li>\n<li><b>4-finger swipe up\/down<\/b> to cycle between Overview, App Grid, and Desktop.<\/li>\n<li><b>3-finger swipe left\/right<\/b> to switch between app windows (function like Alt+Tab).<\/li>\n<li><b>3-finger swipe up\/down<\/b> to maximize, restore, minimize current app window.<\/li>\n<li><b>3 or 4 finger pinch<\/b> out to show desktop, pinch in to restore.<\/li>\n<li>Application specific keyboard shortcut based hold-swipe gestures<\/li>\n<li>Configure touchpad swipe (and pinch) speed.<\/li>\n<\/ul>\n<h4>Step 1: Install the Extension<\/h4>\n<p><b>For Ubuntu 22.04<\/b>, first search for and install &#8220;Extension Manager&#8221; from Ubuntu Software.<\/p>\n<div id=\"attachment_42539\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/extension-manager-softwarecenter.webp\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-42539\" class=\"size-large wp-image-42539\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/extension-manager-softwarecenter-600x355.webp\" alt=\"\" width=\"600\" height=\"355\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/extension-manager-softwarecenter-600x355.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/extension-manager-softwarecenter-300x178.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/extension-manager-softwarecenter-768x454.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/extension-manager-softwarecenter.webp 845w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-42539\" class=\"wp-caption-text\">Install Extension Manager in Ubuntu 22.04+<\/p><\/div>\n<p>Then, launch &#8220;Extension Manager&#8221;, and use it to search &amp; install &#8220;<b>Gesture Improvements<\/b>&#8221; extension under <i>Browse<\/i> tab.<\/p>\n<p>Tips: You may need to make a switch of the filter (e.g., &#8220;Recent&#8221;, &#8220;Downloads&#8221;), or the app does not work properly.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/gesture-improvements-em.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46691\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/gesture-improvements-em-700x548.webp\" alt=\"\" width=\"610\" height=\"478\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/gesture-improvements-em-700x548.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/gesture-improvements-em-300x235.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/gesture-improvements-em-768x601.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/gesture-improvements-em.webp 922w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>If you&#8217;re on the default Wayland session, just switch back to &#8220;Installed&#8221; tab in the app window, and click setting icon for the new installed extension, and configure multi-touch gestures as you want.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/gesture-improvements-config.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46692\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/gesture-improvements-config-700x560.webp\" alt=\"\" width=\"610\" height=\"488\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/gesture-improvements-config-700x560.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/gesture-improvements-config-300x240.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/gesture-improvements-config-768x614.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/gesture-improvements-config.webp 1092w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>For Ubuntu 24.04 with default GNOME 46<\/b>, the extension is so far not updated for the desktop. There&#8217;s however a fork on Github to make it work on GNOME 46.<\/p>\n<p>Just go to the link page below, and select download the source package &#8220;<i>gestureImprovements@gestures.zip<\/i>&#8220;:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/github.com\/jamespo\/gnome-extensions\/releases\/tag\/gnome46\" target=\"_blank\" rel=\"noreferrer noopener\">Gesture Improvements for GNOME 46<\/a><\/div>\n<\/div>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/download-gesture-improvements.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46693\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/download-gesture-improvements-700x331.webp\" alt=\"\" width=\"610\" height=\"288\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/download-gesture-improvements-700x331.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/download-gesture-improvements-300x142.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/download-gesture-improvements-768x363.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/download-gesture-improvements.webp 1288w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Then, open file manager and extract the Zip archive. Finally, copy or move the extracted folder to <code>.local\/share\/gnome-shell\/extensions<\/code> directory.<\/p>\n<p><i>Tips: <code>.local<\/code> is a hidden folder, press Ctrl+H to view\/hide it. And, create <code>extensions<\/code> sub-folder under <code>.local\/share\/gnome-shell<\/code> if it does not exist.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-gestures-gnome46.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46694\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-gestures-gnome46-700x437.webp\" alt=\"\" width=\"610\" height=\"381\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-gestures-gnome46-700x437.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-gestures-gnome46-300x187.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-gestures-gnome46-768x480.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-gestures-gnome46-1536x960.webp 1536w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-gestures-gnome46-1320x825.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-gestures-gnome46.webp 1650w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>When done, <b>log out and back in<\/b>.<\/p>\n<p>Finally, use <b>Extension Manager<\/b> (install it from App Center filtered by &#8220;Debian package&#8221;) to enable and configure the extension for improved gestures.<\/p>\n<h4>Step 2: Enable for GNOME on Xorg<\/h4>\n<p>If you&#8217;re on the classic Xorg session, then you have to install the daemon package to make the touchpad gestures work for you.<\/p>\n<p>1. First, go to the github releases page to download the source package (.zip file):<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/github.com\/harshadgavali\/gnome-x11-gesture-daemon\/releases\" target=\"_blank\" rel=\"noreferrer noopener\">GNOME X11 Gestures Daemon<\/a><\/div>\n<\/div>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/download-gnome-x11-gesture-daemon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46695\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/download-gnome-x11-gesture-daemon-700x284.webp\" alt=\"\" width=\"610\" height=\"247\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/download-gnome-x11-gesture-daemon-700x284.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/download-gnome-x11-gesture-daemon-300x122.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/download-gnome-x11-gesture-daemon-768x312.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/download-gnome-x11-gesture-daemon.webp 1153w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>2. Then, extract the archive in your Downloads folder. Right-click on the extracted folder and select &#8220;<b>Open in Terminal<\/b>&#8221; to open up a terminal window with that folder as working directory.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/open-x11gesture-daemon-terminal.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46696\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/open-x11gesture-daemon-terminal-700x422.webp\" alt=\"\" width=\"610\" height=\"368\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/open-x11gesture-daemon-terminal-700x422.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/open-x11gesture-daemon-terminal-300x181.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/open-x11gesture-daemon-terminal-768x463.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/open-x11gesture-daemon-terminal.webp 1155w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>3. In the pop-up terminal window, run <code>ls<\/code> command to list the directory content. It should include a service file, install\/uninstall script, and a &#8220;target&#8221; sub-folder.<\/p>\n<p>To install the daemon, just run the installer script via command:<\/p>\n<pre>sh install.sh<\/pre>\n<p>Also grant permission by adding current user to the &#8220;input&#8221; group:<\/p>\n<pre>sudo gpasswd --add $USER input<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-x11-gesture-daemon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46697\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-x11-gesture-daemon-700x478.webp\" alt=\"\" width=\"610\" height=\"417\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-x11-gesture-daemon-700x478.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-x11-gesture-daemon-300x205.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-x11-gesture-daemon.webp 746w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>If everything&#8217;s done without any error, <b>restart computer<\/b>. The extension then will make multi-touch gestures work for GNOME on Xorg session.<\/p>\n<h3>Option 2: Use Touchegg (Xorg only)<\/h3>\n<p>Touchegg is a free open-source tool that can enable multi-touch gestures in <b>both global and per-app basis<\/b>. It works on all Linux desktop, though not for Wayland.<\/p>\n<p>Different to GNOME&#8217;s built-in gestures, touchegg is more flexible!<\/p>\n<p>It allows to manually choose actions for <b>3- and 4-finger swipe<\/b>, and <b>2-, 3-, and 4 finger pinch<\/b> gestures, including:<\/p>\n<ul>\n<li>Maximize or restore a window.<\/li>\n<li>Minimize a window.<\/li>\n<li>Tile a window.<\/li>\n<li>Toggle full-screen mode.<\/li>\n<li>Close window.<\/li>\n<li>Switch Desktop (workspace).<\/li>\n<li>Show Desktop.<\/li>\n<li>Do mouse click.<\/li>\n<\/ul>\n<p>Or, <b>simulate a keyboard shortcut and execute custom command<\/b> for the gesture you make on your touchpad or touchscreen. Also, it supports for changing 2-, 3-, and 4-finger tap actions.<\/p>\n<h4>1. Install Touchegg<\/h4>\n<p>Touchegg is available in system repository for all current Ubuntu releases, as well as old Ubuntu 18.04, Ubuntu 16.04, and even Ubuntu 14.04.<\/p>\n<p>The system package <b>however does not work in my case in Ubuntu 24.04 GNOME Xorg<\/b>. If you want to try it out, open terminal (<code>Ctrl+Alt+T<\/code>) and run command to install:<\/p>\n<pre>sudo apt install touchegg<\/pre>\n<p><b>For Ubuntu 20.04, Ubuntu 22.04, and Ubuntu 24.04<\/b> on <code>amd64<\/code> and <code>arm64\/armhf<\/code> platforms, the latest version of the software package is available to install via its <a href=\"https:\/\/launchpad.net\/~touchegg\/+archive\/ubuntu\/stable\" target=\"_blank\" rel=\"noopener\">official PPA<\/a>.<\/p>\n<ol>\n<li>First, press Ctrl+Alt+T to open up a terminal window. Then run command to add the PPA:\n<pre>sudo add-apt-repository ppa:touchegg\/stable<\/pre>\n<p><i>Type user password (no asterisk feedback, just type in mind) when it asks to authenticate, then hit Enter to continue.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/touchegg-ppa-noble.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46698\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/touchegg-ppa-noble-700x410.webp\" alt=\"\" width=\"610\" height=\"357\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/touchegg-ppa-noble-700x410.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/touchegg-ppa-noble-300x176.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/touchegg-ppa-noble.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<li>After that, run command to install the daemon package:\n<pre>sudo apt install touchegg<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/apt-touchegg.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46699\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/apt-touchegg-700x483.webp\" alt=\"\" width=\"610\" height=\"421\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/apt-touchegg-700x483.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/apt-touchegg-300x207.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/apt-touchegg.webp 738w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<\/ol>\n<p><b>NOTE: Elementary OS 6+, Zorin OS 16+, Pop!_OS 21.04+ and Linux Mint 21.2+ include Touchegg out-of-the-box. Just enable it from Settings.<\/b><\/p>\n<h4>2. Enable Touchegg Service<\/h4>\n<p>After installed the latest package from PPA, you may run command to verify if the daemon is in active running:<\/p>\n<pre>systemctl status touchegg.service<\/pre>\n<p>If NOT, try <code>systemctl enable touchegg &amp;&amp; systemctl start touchegg<\/code> to enable it.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/touchegg-status.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46700\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/touchegg-status-700x505.webp\" alt=\"\" width=\"610\" height=\"440\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/touchegg-status-700x505.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/touchegg-status-300x216.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/touchegg-status.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>If you installed the package from system repository, then there&#8217;s no systemd service. Just try running <code>touchegg<\/code> command, and leave the terminal window open.<\/p>\n<h4>3. Install Touche &#8211; the graphical configuration tool<\/h4>\n<p>After installed the daemon package and make sure it&#8217;s running in background, you can then either configure <code>~\/.config\/touchegg\/touchegg.conf<\/code> file for custom actions (See <a href=\"https:\/\/github.com\/JoseExposito\/touchegg?tab=readme-ov-file#manual-configuration\" target=\"_blank\" rel=\"noopener\">official document<\/a>), or use &#8220;touche&#8221; a graphical tool that&#8217;s friendly for beginners.<\/p>\n<p>The tool so far is only available to install as Flatpak package in <a href=\"https:\/\/flathub.org\/apps\/com.github.joseexposito.touche\" target=\"_blank\" rel=\"noopener\">this page<\/a>.<\/p>\n<p>1. First, press <code>Ctrl+Alt+T<\/code> to open up a terminal window. Then, run command to enable Flatpak support:<\/p>\n<pre>sudo apt install flatpak<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45732\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-700x501.webp\" alt=\"\" width=\"610\" height=\"437\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-700x501.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-300x215.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-768x550.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble.webp 786w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>2. Then, run command to install Touche as Flatpak package:<\/p>\n<pre>flatpak install https:\/\/dl.flathub.org\/repo\/appstream\/com.github.joseexposito.touche.flatpakref<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/flatpak-touche.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46701\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/flatpak-touche-700x483.webp\" alt=\"\" width=\"610\" height=\"421\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/flatpak-touche-700x483.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/flatpak-touche-300x207.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/flatpak-touche.webp 738w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>After installation, search for and start it from start menu or Gnome overview. If the app icon is not visible, either logout and back in, or run <code>flatpak run com.github.joseexposito.touche<\/code> command to start from terminal.<\/p>\n<p>When the app opens, enable and configure your desired multi-touch gestures and enjoy!<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/touche.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46703\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/touche-700x510.webp\" alt=\"\" width=\"610\" height=\"444\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/touche-700x510.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/touche-300x218.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/touche-768x559.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/touche.webp 1060w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h4>4. Install Extension for GNOME on Xorg<\/h4>\n<p>If you use Touchegg on default GNOME with classic Xorg session, then you need to install an extension to make it function.<\/p>\n<p><b>For Ubuntu 22.04, Ubuntu 24.04<\/b>, search for and install &#8220;Extension Manager&#8221; from either Ubuntu Software or App Center (filtered by &#8220;Debian package&#8221;). Then, use the tool to search &amp; install &#8220;X11 Gestures&#8221; extension.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-x11gestures.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46704\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-x11gestures-700x518.webp\" alt=\"\" width=\"610\" height=\"451\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-x11gestures-700x518.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-x11gestures-300x222.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-x11gestures-768x568.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/install-x11gestures.webp 931w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>For Ubuntu 20.04 and earlier<\/b>, first open terminal (Ctrl+Alt+T) and run command to install agent package:<\/p>\n<pre>sudo apt install chrome-gnome-shell<\/pre>\n<p>Then, <a href=\"https:\/\/extensions.gnome.org\/extension\/4033\/x11-gestures\/\" target=\"_blank\" rel=\"noopener\">go to this web page<\/a>, install browser extension and refresh if prompted, finally use the ON\/OFF switch to install the extension.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/x11-guestures-browser.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46705\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/x11-guestures-browser-700x443.webp\" alt=\"\" width=\"610\" height=\"386\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/x11-guestures-browser-700x443.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/x11-guestures-browser-300x190.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/x11-guestures-browser-768x486.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/x11-guestures-browser.webp 1077w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h3>Uninstall:<\/h3>\n<p>To uninstall all the extensions mentioned in this tutorial, use either <b>GNOME Extensions<\/b> or <b>Extension Manager<\/b>.<\/p>\n<p>To uninstall the Touchegg daemon, use command in terminal (Ctrl+Alt+T):<\/p>\n<pre>sudo apt remove touchegg<\/pre>\n<p>Also run command to remove the PPA:<\/p>\n<pre>sudo add-apt-repository --remove ppa:touchegg\/stable<\/pre>\n<p>For the touche configuration tool, run the command below to uninstall:<\/p>\n<pre>flatpak uninstall --delete-data com.github.joseexposito.touche<\/pre>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to enable (or improve) touchpad gestures in Ubuntu 24.04, Ubuntu 22.04. Not only for the default GNOME (both X &amp; Wayland), but also for XFCE, MATE, and other desktop environments. GNOME introduced multi-touch gestures support since v40, however, it only works on the default Wayland session, and supports only 3 finger [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":40004,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[2042],"class_list":["post-46690","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-touchpad-gestures"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/46690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=46690"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/46690\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/40004"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=46690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=46690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=46690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}