Libinput does not detect three finger gestures

Libinput does not detect 3 finger swipes on my touchpad with manjaro kde. 3, 4 finger swipes work very well on windows but not here in manjaro.
when running libinput debug-events I get this:

-event3   DEVICE_ADDED            Power Button                      seat0 default group1  cap:k
-event7   DEVICE_ADDED            Video Bus                         seat0 default group2  cap:k
-event1   DEVICE_ADDED            Power Button                      seat0 default group3  cap:k
-event0   DEVICE_ADDED            Lid Switch                        seat0 default group4  cap:S
-event2   DEVICE_ADDED            Sleep Button                      seat0 default group5  cap:k
-event8   DEVICE_ADDED            Laptop_Integrated_Webcam_1.3M:    seat0 default group6  cap:k
-event6   DEVICE_ADDED            Dell WMI hotkeys                  seat0 default group7  cap:k
-event4   DEVICE_ADDED            AT Translated Set 2 keyboard      seat0 default group8  cap:k
-event9   DEVICE_ADDED            AlpsPS/2 ALPS DualPoint Stick     seat0 default group9  cap:p left scroll-nat scroll-button
-event10  DEVICE_ADDED            AlpsPS/2 ALPS DualPoint TouchPad  seat0 default group9  cap:p  size 80x39mm tap(dl off) left scroll-nat scroll-2fg-edge dwt-on dwtp-on
-event4   KEYBOARD_KEY            +4294967.295s KEY_RIGHTCTRL (97) pressed
 event4   KEYBOARD_KEY            +0.080s       KEY_RIGHTCTRL (97) released
 event4   KEYBOARD_KEY            +3.188s       KEY_RIGHTALT (100) pressed
 event4   KEYBOARD_KEY            +3.257s       KEY_RIGHTALT (100) released
-event10  POINTER_MOTION          +5.257s        -0.20/ -0.14 ( -1.00/ -0.69)
 event10  POINTER_MOTION          +5.267s        -1.18/  0.27 ( -3.00/ +0.69)
 event10  POINTER_MOTION          +7.024s        -0.84/ -1.17 ( -2.00/ -2.78)
 event10  POINTER_MOTION          +7.034s         0.40/ -0.28 ( +1.00/ -0.69)
 event10  POINTER_MOTION          +7.045s        -5.36/  1.43 (-13.00/ +3.47)
 event10  POINTER_SCROLL_FINGER   +8.117s       vert 7.30/0.0* horiz 0.00/0.0 (finger)
 event10  POINTER_SCROLL_FINGER   +8.138s       vert 14.90/0.0* horiz 0.00/0.0 (finger)
 event10  POINTER_SCROLL_FINGER   +8.158s       vert 20.45/0.0* horiz 0.00/0.0 (finger)
 event10  POINTER_SCROLL_FINGER   +8.178s       vert 26.29/0.0* horiz 0.00/0.0 (finger)
 event10  POINTER_SCROLL_FINGER   +8.190s       vert 0.00/0.0* horiz 0.00/0.0* (finger)
-event4   KEYBOARD_KEY            +11.056s      *** (-1) pressed
 event4   KEYBOARD_KEY            +11.327s      *** (-1) pressed

two finger swipes (POINTER_SCROLL_FINGER) are detected but nothing happens when I swipe with three fingers. Any idea how to get it working?

Do you have libinput-gestures package installed?

yes I do

Run libinput debug-gui and see if it even detects three fingers.

it only detects two

Have three finger gestures ever worked on any linux distribution?

not all touchpads support three finger gestures, specially older ones (having it working in windows has no relevance). your touchpad might respond to 3-finger taps and still not 3-finger gestures.

give result of;

$ sudo libinput list-devices

this touchpad supports three finger gestures, not just the tap but gestures work in windows and I remember they used to work in linux as well when it was synaptics not libinput

result:

Device:           Power Button
Kernel:           /dev/input/event3
Group:            1
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Video Bus
Kernel:           /dev/input/event8
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Power Button
Kernel:           /dev/input/event1
Group:            3
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Lid Switch
Kernel:           /dev/input/event0
Group:            4
Seat:             seat0, default
Capabilities:     switch
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Sleep Button
Kernel:           /dev/input/event2
Group:            5
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Laptop_Integrated_Webcam_1.3M: 
Kernel:           /dev/input/event7
Group:            6
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Dell WMI hotkeys
Kernel:           /dev/input/event6
Group:            7
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           AT Translated Set 2 keyboard
Kernel:           /dev/input/event4
Group:            8
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           AlpsPS/2 ALPS DualPoint Stick
Kernel:           /dev/input/event9
Group:            9
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           AlpsPS/2 ALPS DualPoint TouchPad
Kernel:           /dev/input/event10
Group:            9
Seat:             seat0, default
Size:             80x39mm
Capabilities:     pointer 
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: enabled
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    none
Disable-w-typing: enabled
Disable-w-trackpointing: enabled
Accel profiles:   flat *adaptive
Rotation:         n/a

if you remember it working under linux then there is a chance, refer;
https://wiki.archlinux.org/title/Touchpad_Synaptics

there are few cases there, one requiring you to shutdown (not reboot) windows which will cause the multi-finger gestures to stop. refer the whole page

I setup the config file and everything now three finger tap is working, don’t know how to get the gestures working.

Running xinput list-props “AlpsPS/2 ALPS DualPoint TouchPad” | grep Capabilities
gives the input

        Synaptics Capabilities (354):   1, 1, 1, 1, 1, 1, 0
---------
From left to right, this shows:

1: device has a physical left button
1: device has a physical middle button
1: device has a physical right button
1: device supports two-finger detection
1: device supports three-finger detection
1: device can configure vertical resolution
0: device can not configure horizontal resolution