[Guide] Firefox - Enable touchscreen scrolling

Hi,
in order to enable touchscreen scroll support in firefox, please edit:

/etc/security/pam_env.conf

By adding:

MOZ_USE_XINPUT2 DEFAULT=1
2 Likes

You can also open about:config in firefox to set dom.w3c_touch_events.enabled=1 (default is 2).

1 Like

Did not work for me and also cannot edit the files shown in the OP post either. My Firefox browser is unable to touch scroll.

Editing the files as root went OK, but neither of these changes improved Firefox’s confusion between touchscreen clicks and right-clicks in some places, making it unusable. If I use the stylus to tap the touchscreen, it’s always understood as a left-click.