Two-finger touchpad swipe in Firefox

I’m trying to get two-finger back/forward touchpad swipe in Firefox to work. These are the steps I’ve taken:

  • dom.w3c_touch_events.enabled in about:config set to 1
  • MOZ_USE_XINPUT2 DEFAULT=1 added to /etc/security/pam_env.conf

And rebooted of course, but I’ve had no luck yet. Does anyone have any idea on how I can move forward to try and fix this?

IIRC Firefox needs to be configured to use Wayland then it should support the two-finger swipe.
See the arch wiki on how to do so:

1 Like