OS: Arch Linux
DE: GNOME on Wayland
Symptom: Cursor jumps / ghost clicks while typing, palm touches registering during typing
This started after upgrading on 2026-06-27:
- mutter 50.1 → 50.2
- gnome-shell 50.1 → 50.2
- libinput 1.31.1 → 1.31.3
mutter 50.2 appears to have changed how it evaluates keyboard devices for disable-while-typing (DWT), breaking the workaround that previously made DWT functional.
disable-while-typing was enabled in GNOME but had no effect whatsoever.
The reason: keyd grabs the physical keyboard exclusively (ids = * in /etc/keyd/default.conf), so libinput never sees any key events from the real keyboard. libinput's DWT mechanism thinks you are never typing, so the touchpad stays active the entire time.
keyd re-emits events through a virtual keyboard device (keyd virtual keyboard, typically /dev/input/event13), but libinput classifies this as an external USB device and ignores it for DWT purposes.
Create /etc/libinput/local-overrides.quirks:
[keyd virtual keyboard]
MatchName=keyd virtual keyboard
AttrKeyboardIntegration=internalVerify it is picked up:
libinput quirks list /dev/input/event13
# Should output: AttrKeyboardIntegration=internal
Takes effect after next login.
The valid range is 100–5000ms. Set it for the current user:
gsettings set org.gnome.desktop.peripherals.touchpad disable-while-typing-timeout 100
Set it system-wide (default for all users):
sudo mkdir -p /etc/dconf/db/local.d
printf '[org/gnome/desktop/peripherals/touchpad]
disable-while-typing-timeout=uint32 100
' | sudo tee /etc/dconf/db/local.d/01-touchpad
sudo dconf update
event9— SYNA8017:00 06CB:CEB2 Touchpad (source of ghost clicks)event12— TPPS/2 Elan TrackPoint (not the cause)event13— keyd virtual keyboard (needsAttrKeyboardIntegration=internal)
keyd intercepts all physical keyboard events via EVIOCGRAB and re-emits them through its virtual device. From libinput's perspective, all typing comes from the keyd virtual keyboard. By marking it as internal, libinput uses those events to drive DWT — disabling the touchpad while you type.