Ubuntu: Fix Touchpad Tap-to-Click via Xorg (libinput)
Problem Tap-to-click on the touchpad was not working after I installed Ubuntu. Here are quick and advanced fixes. Note: This guide’s fix targets Xorg. Under Xorg, the libinput driver reads options from xorg.conf.d, so we can enforce Tapping system-wide. On Wayland, these options are managed by GNOME; use the GUI toggle instead—Xorg configs do not apply to Wayland sessions. TL;DR / Quick start Wayland/GUI: Settings → Mouse & Touchpad → enable “Tap to Click”. Xorg (terminal): create config and enable tapping, then re-login. # Create config dir and write touchpad config sudo install -d /etc/X11/xorg.conf.d/ sudo tee /etc/X11/xorg.conf.d/30-touchpad.conf >/dev/null <<'EOF' Section "InputClass" Identifier "libinput touchpad" MatchIsTouchpad "on" MatchDriver "libinput" Driver "libinput" Option "Tapping" "on" Option "TappingButtonMap" "lmr" EndSection EOF # Reboot or log out/in, then verify grep -i "Using input driver 'libinput'" /var/log/Xorg.0.log || \ grep -i "Using input driver 'libinput'" ~/.local/share/xorg/Xorg.0.log || \ sudo journalctl -b _COMM=Xorg | grep -i "Using input driver 'libinput'" Quick fix (GUI/Wayland) If you use Wayland or the default GNOME session: ...