You are not logged in.

#1 2021-04-09 12:25:18

cazuza
Member
Registered: 2014-05-04
Posts: 19

[SOLVED] 3 fingers gesture not working on gnome 40 (X11)

Hello,

I am using gnome 40 on X11 and the 3 fingers touchpad gestures are not working. The other gestures are working great (two fingers to scroll and tap to click).
I'm using libinput and the 3 fingers gestures seems to be recognized :

$ libinput debug-events
-event2   DEVICE_ADDED     Power Button                      seat0 default group1  cap:k
-event7   DEVICE_ADDED     Video Bus                         seat0 default group2  cap:k
-event6   DEVICE_ADDED     Video Bus                         seat0 default group2  cap:k
-event0   DEVICE_ADDED     Lid Switch                        seat0 default group3  cap:S
-event1   DEVICE_ADDED     Sleep Button                      seat0 default group4  cap:k
-event16  DEVICE_ADDED     Logitech Wireless Mouse M560      seat0 default group5  cap:p left scroll-nat scroll-button
-event15  DEVICE_ADDED     USB2.0 HD UVC WebCam: USB2.0 HD   seat0 default group6  cap:k
-event5   DEVICE_ADDED     Asus WMI hotkeys                  seat0 default group7  cap:k
-event3   DEVICE_ADDED     AT Translated Set 2 keyboard      seat0 default group8  cap:k
-event9   DEVICE_ADDED     ETPS/2 Elantech Touchpad          seat0 default group9  cap:pg  size 100x66mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on
 event9   GESTURE_SWIPE_BEGIN +0.261s	3
 event9   GESTURE_SWIPE_UPDATE +0.261s	3  0.12/-2.99 ( 0.85/-21.33 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.272s	3 -0.43/-2.40 (-1.69/-9.43 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.283s	3  0.23/-3.40 ( 0.85/-12.71 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.295s	3 -0.45/-1.32 (-1.69/-4.92 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.306s	3  0.45/-7.35 ( 1.69/-27.48 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.317s	3 -1.02/-3.73 (-3.81/-13.94 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.329s	3  0.34/-7.13 ( 1.27/-26.66 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.340s	3 -0.79/-3.84 (-2.96/-14.35 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.351s	3  0.11/-5.81 ( 0.42/-21.74 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.362s	3 -0.91/-3.29 (-3.39/-12.30 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.374s	3  0.11/-2.41 ( 0.42/-9.02 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.385s	3 -0.45/-1.32 (-1.69/-4.92 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.396s	3  0.11/-3.84 ( 0.42/-14.35 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.408s	3 -0.68/-2.19 (-2.54/-8.20 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.419s	3  0.11/-2.41 ( 0.42/-9.02 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.430s	3 -0.45/-1.32 (-1.69/-4.92 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.441s	3  0.11/-1.21 ( 0.42/-4.51 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.453s	3 -0.23/-0.66 (-0.85/-2.46 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.464s	3  0.08/-0.08 ( 0.42/-0.41 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.475s	3  0.00/-0.05 ( 0.00/-0.41 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.487s	3  0.41/ 1.08 ( 1.69/ 4.51 unaccelerated)
 event9   GESTURE_SWIPE_UPDATE +0.498s	3  0.34/ 0.54 ( 1.27/ 2.05 unaccelerated)
 event9   GESTURE_SWIPE_END +0.509s	3

On gnome-settings>mouse>"test your settings", the 3 fingers click is recognized too. But using 3 finger +[↑ ↓] doen't toggle the overview, nor 3 fingers+[ ← →] changes workspaces.

Also I tried to install the gnome-shell-extension-x11gestures but it didn't change anything (which is expected, since it is useful for people on X11 not using libinput).

Can somebody help ? Thank you very much smile

Last edited by cazuza (2021-04-09 16:14:29)

Offline

#2 2021-04-09 15:46:53

joojmachine
Member
From: Bahia, Brasil
Registered: 2021-02-13
Posts: 8

Re: [SOLVED] 3 fingers gesture not working on gnome 40 (X11)

The 3-finger 1:1 gestures only work for Wayland, unfortunately, but you can use them in X11 with Touchegg and the extension you mentioned. It does work, usually, but you need Touchegg installed for it.

Last edited by joojmachine (2021-04-09 15:47:36)


and the universe said I love you
and the universe said the light you seek is within you
and the universe said you are not alone
and the universe said I love you because you are love

Offline

#3 2021-04-09 16:01:44

cazuza
Member
Registered: 2014-05-04
Posts: 19

Re: [SOLVED] 3 fingers gesture not working on gnome 40 (X11)

Thank you for your reply and the information. I thought it should work with libinput on X11...

So I reinstalled the extension, and touchegg (it is a dependency of the AUR package anyway), rebooted the shell, activated the extension and it still isn't working
Maybe you have an idea to debug ?

Last edited by cazuza (2021-04-09 16:03:04)

Offline

#4 2021-04-09 16:06:28

cazuza
Member
Registered: 2014-05-04
Posts: 19

Re: [SOLVED] 3 fingers gesture not working on gnome 40 (X11)

Here is an idea :

$ journalctl -xb
avril 09 18:03:41 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Connecting to Touchégg daemon
avril 09 18:03:41 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Error connecting to Touchégg daemon: Impossible de se connecter : Connexion refusée
avril 09 18:03:41 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Reconnecting to Touchégg daemon in 5 seconds
avril 09 18:03:46 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Connecting to Touchégg daemon
avril 09 18:03:46 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Error connecting to Touchégg daemon: Impossible de se connecter : Connexion refusée
avril 09 18:03:46 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Reconnecting to Touchégg daemon in 5 seconds
avril 09 18:03:51 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Connecting to Touchégg daemon
avril 09 18:03:51 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Error connecting to Touchégg daemon: Impossible de se connecter : Connexion refusée
avril 09 18:03:51 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Reconnecting to Touchégg daemon in 5 seconds
avril 09 18:03:56 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Connecting to Touchégg daemon
avril 09 18:03:56 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Error connecting to Touchégg daemon: Impossible de se connecter : Connexion refusée
avril 09 18:03:56 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Reconnecting to Touchégg daemon in 5 seconds
avril 09 18:04:01 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Connecting to Touchégg daemon
avril 09 18:04:01 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Error connecting to Touchégg daemon: Impossible de se connecter : Connexion refusée
avril 09 18:04:01 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Reconnecting to Touchégg daemon in 5 seconds
avril 09 18:04:06 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Connecting to Touchégg daemon
avril 09 18:04:06 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Error connecting to Touchégg daemon: Impossible de se connecter : Connexion refusée
avril 09 18:04:06 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Reconnecting to Touchégg daemon in 5 seconds
avril 09 18:04:11 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Connecting to Touchégg daemon
avril 09 18:04:11 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Error connecting to Touchégg daemon: Impossible de se connecter : Connexion refusée
avril 09 18:04:11 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Reconnecting to Touchégg daemon in 5 seconds
avril 09 18:04:16 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Connecting to Touchégg daemon
avril 09 18:04:16 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Error connecting to Touchégg daemon: Impossible de se connecter : Connexion refusée
avril 09 18:04:16 username gnome-shell[1432]: [x11gestures@joseexposito.github.io] Reconnecting to Touchégg daemon in 5 seconds

It's in french but it says "Error connecting to Touchégg daemon: Impossible to connect : Connexion refused"
I'm investigating this

Offline

#5 2021-04-09 16:12:48

Evanston
Member
Registered: 2021-03-31
Posts: 5

Re: [SOLVED] 3 fingers gesture not working on gnome 40 (X11)

Offline

#6 2021-04-09 16:13:28

cazuza
Member
Registered: 2014-05-04
Posts: 19

Re: [SOLVED] 3 fingers gesture not working on gnome 40 (X11)

It works after launching the touchegg daemon :

$ touchegg --daemon

I found this on the touchegg's github page :

Arch Linux, Manjaro and derivatives

Install the touchegg package from AUR.

Notice that on Arch services are not enabled or started by default, so you'll have to do it manually:

$ sudo systemctl enable touchegg.service
$ sudo systemctl start touchegg

Once the service is enabled, run Touchégg manually by running the command touchegg or reboot to get started.

Problem solved, thank you very much for the information !

Last edited by cazuza (2021-04-09 16:14:10)

Offline

Board footer

Powered by FluxBB