TL;DR: I wanted to drag-select text with three fingers on my ThinkPad, without holding down the touchpad button. Linux was receiving only two finger positions through the original driver path. Using a model-specific kernel patch to switch the pad to SMBus/RMI4 exposed four positions. A separate Plasma login then let me enable libinput’s three-finger drag without replacing my normal desktop session.

I use three-finger drag on macOS to select text. On this ThinkPad, I could already tap with three fingers, so at first I assumed the problem was just a KDE setting. The important difference was what Linux could see while those fingers were moving.

Version tested: ThinkPad T14 Gen 2 AMD with a Synaptics TM3471-030, Ubuntu 26.04.1 LTS, kernel 7.0.0-30-generic, KDE Plasma/KWin 6.6.7 and a private build of libinput 1.31.1. This is a write-up of a working setup, not a one-command installer.

A Three-Finger Tap Isn’t a Three-Finger Drag

A tap can be recognized from a finger count. Continuous gestures depend on the motion data the driver exposes. On my stock PS/2 path, the touchpad exposed only two independent position slots. On the RMI4 path, I measured four on the same hardware.

That does not mean every PS/2 touchpad is limited to two fingers. This result is about the Linux driver path and hardware in this ThinkPad. It also explains why changing settings for taps was not a useful way to solve this case.

SetupWhat I observed
Stock PS/2 path on this ThinkPadTwo positional slots. A three-finger tap was not evidence of three independent tracks.
Patched SMBus/RMI4 pathFour positional slots on the same touchpad.
RMI4 plus the opt-in KDE Wayland sessionThree fingers could drag-select text; four fingers could switch desktops.

The Fix Had Three Layers

  1. Expose the contacts in the kernel. I used the community patch for this ThinkPad to bring up the Synaptics touchpad through SMBus/RMI4 instead of the stock PS/2 path. The first test failed with Missing F01 and fell back; a bounded retry during login got the device up on the tested setup. The important check was the number of position slots the device actually reported, not whether the device name appeared.
  2. Translate three moving fingers into a drag in libinput. I used the existing three-finger-drag capability in a private libinput build. The first successful test was a small KWrite session, not my regular desktop. It selected text, but quick movements were easy to miss. I tuned the drag-start distance to 7 mm and kept that change in the private build.
  3. Keep desktop switching separate in KWin. KDE already registers both three- and four-finger horizontal swipes for desktops. In my opt-in session, I suppressed the competing three-finger swipe events from this specific pad. Four fingers still run the native KWin gesture, so the desktop can move with your fingers rather than jumping when an external tool fires a shortcut.

I also had to reapply natural scrolling after the switch. KDE identified the RMI4 device separately; it did not carry the PS/2 device’s preference over automatically.

The Four-Finger Swipe Felt Too Long

Keyboard desktop switching was already smooth on the same desktop. The problem was that I had to drag my fingers a long way before the swipe would commit. In KWin 6.6.7 the release decision compares the gesture’s progress against a threshold of 0.25. That is a fraction of KWin’s normalized gesture progress, not a percentage of the physical touchpad width.

I scaled the horizontal delta of four-finger swipe updates by 1.5× on this pad in the private session. That made the desktop follow my hand more readily without changing either the 7 mm three-finger setting or ordinary two-finger scroll. I checked the filter against eight synthetic cases, including direction, other finger counts, and another device, then tried it on the laptop. It felt better; I did not measure a new swipe distance in millimeters.

Keep a Way Back

I kept the normal Plasma (Wayland) entry and added Plasma (3-Finger Drag) alongside it. The optional session uses a matching copy of KWin and the private libinput build. The standard session still uses the distribution’s packages. I did not overwrite the system compositor or libinput.

If the optional setup misbehaves, sign out and choose the standard Plasma session. The optional profile checks the tested kernel and KWin build rather than assuming an update is compatible. Do not copy kernel modules compiled for one version onto another. In particular, I haven’t established long-term stability across suspend and resume, and I did not test other T14 touchpads, firmware revisions, or distributions.

Summary

The useful diagnostic was not “Can the pad detect three fingers?” It was “How many independent finger positions does Linux get?” Once the driver exposed four on this unit, existing libinput drag and native KWin swipes could do different jobs: three fingers to select text, four to move between desktops.