Enable touch-scrolling in Firefox

I finally found a solution: start firefox with:

env MOZ_USE_XINPUT2=1 firefox

This enables touch-scrolling for me. Pinch-to-zoom does not work for regular web pages, but it does work on some selected web pages such as Google Maps or OpenStreetMap.


  1. Edit /etc/security/pam_env.conf and add this line:

    MOZ_USE_XINPUT2 DEFAULT=1
    
  2. reboot

see https://askubuntu.com/a/994483/34298