0

I'm running Firefox on Ubuntu 18.10 with a laptop that has a touchscreen. Apparently, Firefox needs to be told to support this by launching it with this command:

MOZ_USE_XINPUT2=1 /usr/bin/firefox

Now I normally launch firefox using the search key and then typing "firefox" followed by enter. How can I keep that process and have it launch with the xinput2 params I need?

vince
  • 88

1 Answers1

0

You should first create your own new .desktop file by running

gedit ~/.local/share/applications/firefoxtouch.desktop

substitute gedit with any text editor you prefer

Now, put inside those file

    [Desktop Entry]
Name=Firefox Touch
Comment=
Exec=env MOZ_USE_XINPUT2=1 /usr/bin/firefox %u
Icon=firefox
Terminal=false
Categories=GNOME;GTK;Network;WebBrowser;
Type=Application
StartupNotify=true

and save. Now searching for Firefox should five you another entry for Firefox with custom parameter you need.