12

In Firefox, swiping on the touch screen results in selecting text, instead of scrolling (like on an iPad). Is it possible to change the behaviour, so that the touch screen can be used to scroll, while the mouse can be used to select text?

In Chrome, the behaviour is as expected (swipe to scroll, (mouse)drag to select).

I'm using Firefox 50.0 on Linux Mint 18 (based on Ubuntu 16.04). I have dom.w3c_touch_events.enabled set to 2, setting it to 1 does not help either.

Thanks for any help!

18

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
  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

  • thanks, this is the only that worked for me for firefox 70 – Daniel Pérez Oct 27 at 20:03

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.