To have working touchscreen scroll functionality in Firefox I made a copy of firefox.desktop
and put it in ~/.local/share/applications/firefox.desktop
. I modified the Exec command(s) as suggested:
Exec=env MOZ_USE_XINPUT2=1 firefox %u
When I search for Firefox in Gnome Shell and launch it it works, but when I use the launcher it does not. I tried to unpin Firefox and pin it again to the launcher with no effect. I prefer not to modify such system files with root privileges for every user. (There exists a bug in Launchpad to ship it by default.)
How can I modify pinned launcher icons in this case? (I have had no problem doing this on another machine which runs XFCE).