So I just installed tumbleweed and when I first launched firefox I was surprised. I had all the touchpad gestures (smooth zooming with pinching, going back and forward with two fingers and smooth scrolling (momentum scrolling)) but I was on x11, not wayland.
Could anyone please tell me what black magic did openSUSE do to get these gestures working in firefox, on X11?
And before anyone says to use touchegg + touche (I do), its not the same thing. Theres no smooth scrolling (aka momentum scrolling), theres no pinch to zoom (I’m using an extension to work around which uses shift + scrolling), and theres no two finger back and forward (touche only allows for 3-4 finger gestures).
Nice to hear Tumbleweed is working for you, would be good to indicate what platform you are running it on, my desktop PC does not react to touchpad gestures.
I’d like to add:
If someone can help me figure out how to get those gestures working on other firefox based browsers (i.e. floorp which is in a flatpak, but I can compile it manually if flatpaks won’t work), that would be great too! I don’t mind switching to firefox just for the gestures.
I have used Arch and EndeavourOS, and both of them did not have touchpad gestures on firefox OOTB. This is the first time I’ve seen it in any linux distro and it was on OpenSUSE, so I’m sure OpenSUSE is doing something to their default firefox installation to make this work.
Also, that bug report is completely unrelated to this post. What I’m trying to ask in this thread is how firefox in OpenSUSE (default installation, I didn’t install any extras or anything else) had gestures working OOTB (for Firefox only), I’m not trying to configure gestures for kde.
It will depend on the underlying touchpad driver (ie supporting two-finger gestures), and Firefox >= version 106. Most modern distros use libinput for X11 desktop sessions, and only libinput for Wayland desktop sessions.
It will depend on the underlying touchpad driver (ie supporting two-finger gestures), and Firfox >= version 106. Most modern distros use libinput for X11 desktop sessions, and only libinput for Wayland desktop sessions.
I don’t know what this means… So distros use libinput for touchpad gestures in both X11 and wayland? Vanilla arch installation also uses libinput as their default touchpad drivers but I can’t use the same wayland type gestures within firefox. How do I do what opensuse did to firefox to other distros (or to even other firefox based browsers like floorp)? I’m sure there is some extra configuration going on within firefox or within the system that allows me to seamlessly use my touchpad like I was running wayland.
For the most part. Some touchpad hardware devices were previously supported by the Xorg synaptics driver as well, but this is not applicable to Wayland environments.
It hasn’t done anything specifically. It has inherited upstream functionality.
Is Firefox running as a Wayland client or Xwayland. That can be checked by checking the Window Protocol in “about:support”. The Firefox version is relevant here: