Enable better touchscreen usage on linux
See original GitHub issueProblem Description
Currently, firefoxpwa apps cannot scroll via touch, instead touch events default to selecting text on linux.
Proposed Solution
Enable an option (either via CLI or otherwise) for to set MOZ_USE_XINPUT2=1 on Linux
Additional Information
This also enables Pixel-perfect trackpad scrolling
Workaround
if you’re on Xorg:
echo export MOZ_USE_XINPUT2=1 | sudo tee /etc/profile.d/use-xinput2.sh
then restart computer.
Edit:
If you’re on Wayland:
echo export MOZ_ENABLE_WAYLAND=1 | sudo tee /etc/profile.d/use-moz-enable-wayland.sh
then restart computer
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
How to Configure a Touchscreen on Linux
To install this extension click Tools > Add-ons and then click Get Add-ons. In the search bar of the new tab, enter “grab...
Read more >Touchscreen - ArchWiki
Touchegg is a multitouch gesture program, only compatible with X, that runs as a user in the background, recognizes gestures, and translates ...
Read more >Linux on a Touchscreen Is Better Than You Think - MakeUseOf
Want to install Linux on a touchscreen 2-in-1 laptop but not sure if that would work? Here's a detailed review of how Linux...
Read more >Configure Touch Screen for Linux Operating System - YouTube
We map a touch screen controller to a touch screen connected to a linux computer. If we don't do this then touch will...
Read more >How to Enable, Disable Keyboard, Mouse and Touch Devices ...
Xinput is a utility that gives you configuration options to control mouse, keyboard, touchpad, and touch screen devices in Linux (applicable ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Currently
firefoxpwa
directly launches Firefox binary so it just uses its defaults, while normally/usr/bin/firefox
is a shell script that setsMOZ_ENABLE_WAYLAND
and some other environment variables.I will add a way to specify environment variables that are set when launching Firefox via config (and probably also through extension).
Activating Use Wayland should work fine.