Home
» LINUX
»
Fix Touchpad Gestures Not Working on Wayland in Ubuntu 24.04
Fix Touchpad Gestures Not Working on Wayland in Ubuntu 24.04
You move the pointer normally, two-finger scrolling may still work, but the familiar three-finger swipe no longer opens Activities or switches workspaces. On Ubuntu 24.04, that symptom is often misdiagnosed as “Wayland gestures being disabled.” In the standard GNOME desktop, there is no separate master switch for the built-in three-finger system gestures. The useful question is where the gesture stops: at the session, the touchpad settings, libinput, GNOME Shell, or the hardware itself.
This guide starts with checks that are fast and reversible, then moves toward input diagnostics. Ubuntu 24.04 LTS uses GNOME on Wayland by default on supported systems, and GNOME documents three-finger swipes for opening the Activities overview and switching workspaces. The underlying libinput stack can report swipe and pinch events on supported touchpads. Those two facts give us a clean troubleshooting path: confirm Wayland, confirm the touchpad is active, test the stock GNOME gesture, then verify whether libinput receives multi-finger events.
1. Confirm that you are actually in a Wayland session
Open Terminal and run:
echo $XDG_SESSION_TYPE
The expected result is wayland. If the command prints x11, you are troubleshooting a different input path. Ubuntu can still offer an Xorg session, and gesture behavior there is not identical to the native GNOME Wayland experience.
Check the current desktop session first. A result of “wayland” confirms that the rest of this guide applies directly.
If you are on Xorg and want the default Wayland session, log out. On the sign-in screen, select your account, open the session chooser, and choose Ubuntu rather than Ubuntu on Xorg when those options are available. Hardware, graphics drivers, remote desktop sessions, or administrator policy can affect which sessions are offered, so do not force a missing option without checking why it is unavailable.
Open Settings > Mouse & Touchpad. Confirm that the touchpad is enabled. Also test two-finger scrolling and basic tapping. GNOME’s settings panel exposes touchpad controls only when the desktop recognizes a touchpad, so a missing Touchpad section is a meaningful clue rather than a cosmetic problem.
Verify that Ubuntu sees the touchpad and that ordinary touchpad functions such as two-finger scrolling are enabled.
Do not spend time looking for a “three-finger gestures” toggle in the stock Ubuntu 24.04 Settings panel. The built-in GNOME Shell system gestures are not normally controlled by a dedicated on/off switch there. If pointer movement and two-finger scrolling work but three-finger gestures do not, continue to the next test.
3. Test a stock GNOME gesture, not an app-specific gesture
Use three fingers and swipe upward on the touchpad. GNOME should open the Activities overview. A further upward swipe can open the applications view. A three-finger swipe left or right should switch workspaces. These are the best baseline tests because they are GNOME Shell gestures, not features supplied by Firefox, a browser extension, a desktop add-on, or a third-party gesture daemon.
Test the built-in GNOME workspace gesture before troubleshooting browser pinch-to-zoom or custom gesture actions.
Pinch-to-zoom is different. libinput can recognize pinch gestures, but whether a pinch zooms content depends on the application and toolkit. A working three-finger workspace swipe alongside a non-working pinch in one application usually points to the application, not to Wayland as a whole.
4. Check whether libinput recognizes the touchpad
Ubuntu provides the libinput-tools package for input diagnostics. If the libinput command is not installed, add it with:
sudo apt update
sudo apt install libinput-tools
Then list devices:
sudo libinput list-devices
Find the block for your touchpad. The exact model name, event node, dimensions, and configuration differ by laptop. What matters is that libinput lists the device as a touchpad and exposes the expected capabilities. The Ubuntu 24.04 package is documented in the Ubuntu Noble package catalog, and the command itself is covered by the Ubuntu libinput man page.
Use libinput list-devices to confirm that the input stack recognizes the touchpad before changing GNOME settings or installing gesture add-ons.
If the touchpad is absent from libinput list-devices, this is no longer mainly a GNOME gesture problem. Check whether the device appears in firmware/BIOS settings, whether a hardware touchpad toggle is active, and whether the kernel sees the device after a reboot. Laptop-specific kernel, I2C-HID, or firmware issues need to be resolved before GNOME can receive gestures.
5. Watch the raw gesture events
The most informative test is to see whether libinput emits gesture events while you move three fingers. Run:
sudo libinput debug-events
Then perform a three-finger swipe. On supported hardware you should see gesture event lines such as a swipe begin, updates, and an end. The exact event node, timing, deltas, and formatting can vary. The command usually needs root access because it reads /dev/input/event* devices directly.
If three-finger swipe events appear here, the touchpad and libinput are detecting the gesture; the remaining problem is likely higher in the desktop stack.
If gesture events appear: the hardware and libinput path are working. Focus next on GNOME Shell, extensions, session state, and updates. If no multi-finger gesture events appear: test again with fingers clearly separated. If basic pointer events appear but three-finger gestures never do, the touchpad may lack the required multitouch capability, or a kernel/firmware issue may be preventing it from reporting enough contacts.
6. Install current Ubuntu 24.04 updates
Before replacing drivers or editing low-level configuration files, bring the installed 24.04 packages up to date:
sudo apt update
sudo apt upgrade
Reboot if the update installs a new kernel, graphics stack, or other components that require a restart. Gesture handling crosses several layers—kernel input drivers, libinput, Mutter/GNOME Shell, and applications—so an already-fixed bug can remain visible on a machine that has not been updated.
Apply supported Ubuntu updates before trying custom input drivers or configuration overrides.
Avoid downloading random Synaptics packages or copying old Xorg configuration snippets from tutorials written for earlier Ubuntu releases. Under the standard Wayland GNOME session, libinput is the relevant input library, and Xorg-only configuration files are not a reliable way to repair GNOME Shell gestures.
7. Temporarily disable GNOME Shell extensions
If libinput debug-events clearly shows three-finger swipes but GNOME does nothing, temporarily disable third-party GNOME Shell extensions and test again. Extensions can alter workspace behavior, window management, overview behavior, or gesture handling. Use the Extensions app if you have it installed, or list enabled extensions with:
gnome-extensions list --enabled
Disable suspicious extensions one at a time with:
gnome-extensions disable EXTENSION_UUID
Replace EXTENSION_UUID with an identifier returned by the list command. Logging out and back in after changing Shell extensions can help ensure you are testing a clean session.
Temporarily remove extension behavior from the test. If stock gestures return, re-enable extensions one at a time to find the conflict.
This step is diagnostic, not a recommendation to run permanently without extensions. Once you identify the conflicting extension, update it, adjust its settings, or leave only that extension disabled.
8. Re-enter a clean Wayland session and test again
Log out, choose the normal Ubuntu Wayland session at sign-in, and repeat the stock gesture tests before reopening many applications. This clears transient GNOME Shell state and makes it easier to tell whether an extension or session-specific process was involved.
For a final clean test, sign in to the normal Ubuntu session rather than Ubuntu on Xorg when Wayland is available on the machine.
If the system always returns to Xorg even when you select Ubuntu, investigate the reason instead of assuming the touchpad is at fault. Graphics-driver compatibility, remote-access configuration, or local policy can change the session that is available.
Why installing Touchegg is usually not the first fix on Wayland
A common suggestion is to install a gesture daemon immediately. That can be useful for custom actions in some environments, but it is not the right first response when the built-in GNOME gestures fail in a Wayland session. GNOME Shell already implements its own three-finger system gestures. Adding another gesture layer before confirming what libinput sees can make diagnosis harder and can create conflicts with system-reserved gestures.
GNOME’s Human Interface Guidelines note that three- and four-finger gestures are reserved for system use. That is why application-level gesture behavior is not interchangeable with the desktop’s workspace gestures. See the GNOME pointer and touch guidelines.
How to verify that the problem is really fixed
Do not stop at “the cursor moves.” A successful repair should pass several independent checks:
echo $XDG_SESSION_TYPE returns wayland.
The Touchpad section is present in Settings and ordinary touchpad behavior works.
A three-finger swipe up opens Activities.
A three-finger swipe left or right switches workspaces.
If the libinput test succeeds but GNOME gestures still fail after updates, extension testing, and a fresh Wayland login, you have narrowed the problem to a desktop-session or compositor-level issue. At that point, collect the Ubuntu version, kernel version from uname -r, GNOME Shell version from gnome-shell --version, touchpad model from libinput list-devices, and a short description of which stock gesture fails. That evidence is far more useful for a bug report than reinstalling drivers blindly.
If libinput never reports three-finger gestures, concentrate on hardware capability, firmware, and kernel support. If only one application’s pinch or navigation gestures fail while GNOME workspace gestures work, troubleshoot that application separately. This distinction is the key to fixing touchpad gestures on Ubuntu 24.04 without turning a small input problem into a larger system configuration problem.