I am using Ubuntu 20.04 with Wayland (for fractional scaling) on a laptop with touchscreen. I would like to use firefox with touch-scrolling. In Ubuntu 19.10, I needed to modify the environment variable GDK_BACKEND=wayland
. In 20.04, this setting does not work and firefox does not start. I just get the terminal output:
(firefox:10489): Gtk-WARNING **: 16:44:22.416: cannot open display: :0
I also tried MOZ_USE_XINPUT2=1
and MOZ_ENABLE_WAYLAND=1
but firefox keeps using x11 as window protocol (shown in about:support). How can I make firefox use wayland?