I try to enable one finger scrolling in firefox ( it's more comfortable to scroll like that with a touchscreen). The default fedora version of firefox and chromium work like that.

I tried to launch firefox with the option MOZ_USE_XINPUT2=1 but it doesn't work.. Can you help me ??

  • It would help a little if you explain how you are trying to use MOZ_USE_XINPUT2=1, as in where did you place this command? – Charles Green Mar 2 at 14:43

I had similar issues with the HP Pavilion x360. I found that MOZ_USE_XINPUT2=1 only works in Wayland, not Xorg. Furthermore, to make it a permanent solution I needed to follow these steps:

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

  2. edit /etc/security/pam_env.conf and add MOZ_USE_XINPUT2 DEFAULT=1

  3. reboot and restart firefox

See https://askubuntu.com/a/994483/799524

New contributor
Hanna Asakura is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.