
{"id":48233,"date":"2025-02-26T08:49:23","date_gmt":"2025-02-26T08:49:23","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=48233"},"modified":"2025-07-03T06:18:45","modified_gmt":"2025-07-03T06:18:45","slug":"enable-4-finger-pinch-gestures-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2025\/02\/enable-4-finger-pinch-gestures-ubuntu\/","title":{"rendered":"Enable 4-finger &#038; Pinch Touchpad Gestures in Ubuntu 24.04 | 25.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 touchpad 4-finger swipe and pinch gestures in Ubuntu 24.04, 24.10 and 25.04 with default GNOME Desktop on Wayland.<\/b><\/p>\n<p>GNOME since version 40 supports 3-finger swipe gestures to switch between workspaces and trigger overview screen. And, there&#8217;s an extension <a href=\"https:\/\/extensions.gnome.org\/extension\/4245\/gesture-improvements\/\" target=\"_blank\" rel=\"noopener\">Gesture Improvements<\/a> to enhance the features with 4-finger and pinch gestures support. However, the extension only supports Gnome from version 40 to 44.<\/p>\n<p>If you want to extend the gestures on recent GNOME 45 ~ 48 (meaning Ubuntu 24.04+, Fedora Workstation 40+, etc), there&#8217;s now an open-source fork to do the job on Wayland.<\/p>\n<p><!--more--><\/p>\n<p><b>NOTE: This tutorial only works in default GNOME Desktop with default Wayland session. For non-GNOME or GNOME on Xorg, see <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2024\/06\/enable-enhance-touchpad-gestures-ubuntu\/\" target=\"_blank\" rel=\"noopener\">this tutorial<\/a> (option 2) instead.<\/b>.<\/p>\n<h3>Step 1: Install Extension Manager app<\/h3>\n<p>Extension Manager is a popular application for installing and managing Gnome Shell Extensions. For Ubuntu 24.04 and higher, simply open App Center, then search &amp; install the app filtered by Deb package.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/install-extensionmanager.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48234\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/install-extensionmanager-700x409.webp\" alt=\"\" width=\"610\" height=\"356\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/install-extensionmanager-700x409.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/install-extensionmanager-300x175.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/install-extensionmanager-768x449.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/install-extensionmanager.webp 1116w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>For choice, you may press Ctrl+Alt+T on keyboard to open terminal, then run the command below instead to install it:<\/p>\n<pre>sudo apt install gnome-shell-extension-manager<\/pre>\n<h3>Step 2: Install &#8220;Touchpad Gesture Customization&#8221; Extension<\/h3>\n<p>After installed Extension Manager app, launch it, then use it to search &amp; install the &#8220;Touchpad Gesture Customization&#8221; extension, under <i>Browse<\/i> tab.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/tgc-em.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48235\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/tgc-em-700x458.webp\" alt=\"\" width=\"610\" height=\"399\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/tgc-em-700x458.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/tgc-em-300x196.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/tgc-em-768x502.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/tgc-em.webp 1002w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Or, just go to the extension web page in EGO via the link below:<\/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:\/\/extensions.gnome.org\/extension\/7850\/touchpad-gesture-customization\/\" target=\"_blank\" rel=\"noreferrer noopener\">Touchpad Gesture Customization<\/a><\/div>\n<\/div>\n<p>Then install browser extension (if prompted) and refresh, finally use ON\/OFF toggle to install the Gnome Shell extension.<\/p>\n<p>NOTE: Ubuntu needs to run <code>sudo apt install chrome-gnome-shell<\/code> command in terminal (Ctrl+Alt+T) to install the agent package for being able to installing Gnome Shell Extensions within web browser.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/tgc-browser.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48236\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/tgc-browser-700x454.webp\" alt=\"\" width=\"610\" height=\"396\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/tgc-browser-700x454.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/tgc-browser-300x195.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/tgc-browser-768x498.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/tgc-browser.webp 1252w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h3>Step 3: Configure The Gestures<\/h3>\n<p>After successfully install the extension, you may then use the following touchpad gestures:<\/p>\n<ul>\n<li><b>3-finger swipe left\/right<\/b> &#8211; to switch app windows (like what Alt+Tab does).<\/li>\n<li><b>3-finger swipe up\/down<\/b> &#8211; to maximize, toggle full-screen, restore, or tile current app window.<\/li>\n<li><b>4-finger swipe left\/right<\/b> &#8211; to switch between workspaces.<\/li>\n<li><b>4-finger swipe up\/down<\/b> &#8211; to trigger overview or go back the desktop.<\/li>\n<\/ul>\n<p>For pinch and more actions, launch &#8220;<b>Extension Manager<\/b>&#8221; app and click the gear icon for the extension you just installed.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/configure-tgc.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48237\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/configure-tgc-700x614.webp\" alt=\"\" width=\"610\" height=\"535\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/configure-tgc-700x614.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/configure-tgc-300x263.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/configure-tgc-768x674.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/configure-tgc.webp 1065w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>In the pop-up preferences dialog, you may configure to enable:<\/p>\n<ul>\n<li><b>3-finger swipe down<\/b> &#8211; to minimize current app window, which however disable tile window action.<\/li>\n<li><b>3-finger or 4-finger pinch<\/b> &#8211; to show desktop, close window, or invoke <code>Ctrl+W<\/code> keyboard shortcut.<\/li>\n<\/ul>\n<p>There are as well app specific gestures, though it seems NOT working in my case, and touch swipe\/pinch speed, gesture duration, etc settings.<\/p>\n<p><b>NOTE:<\/b> the 3-finger swipe window switch gestures by default switch windows in current workspace. To make it works for all workspaces, open terminal (Ctrl+Alt+T) and run command:<\/p>\n<pre>gsettings set org.gnome.shell.window-switcher current-workspace-only false<\/pre>\n<p>While you may restore by re-running this command but replace <code>false<\/code> with <code>true<\/code>.<\/p>\n<p>To request features or report bugs, please go to its <a href=\"https:\/\/github.com\/HieuTNg\/touchpad-gesture-customization\" target=\"_blank\" rel=\"noopener\">Github project page<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to enable touchpad 4-finger swipe and pinch gestures in Ubuntu 24.04, 24.10 and 25.04 with default GNOME Desktop on Wayland. GNOME since version 40 supports 3-finger swipe gestures to switch between workspaces and trigger overview screen. And, there&#8217;s an extension Gesture Improvements to enhance the features with 4-finger and pinch gestures [&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":[1389,2042],"class_list":["post-48233","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-touchpad","tag-touchpad-gestures"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/48233","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=48233"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/48233\/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=48233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=48233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=48233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}