LB - Blog Logo

My Blog

How to enable swipe navigation in Firefox on X11 distros

The Problem

On most browsers, you can navigate back and forth your history using 2-finger swipes and zoom in and out by pinching the Touchpad.

However, on a fresh Linux installation using X11, this might not work out of the box.

The fix

add the following line to your /etc/security/pam_env.conf

MOZ_USE_XINPUT2 DEFAULT=1

Log out and log in again. Now the gestures should work in your Firefox Browser.

This should also work with Firefox forks.