You are not logged in.
I'm trying to execute Firefox on Gnome Shell with environment variable "GDK_BACKEND=wayland".
I've duplicate the desktop file:
$ cp /usr/share/applications/firefox.desktop .local/share/applicationsAnd I've edited all "Exec" lines to:
$ grep Exec .local/share/applications/firefox.desktop
Exec=env GDK_BACKEND=wayland /usr/lib/firefox/firefox %u
Exec=env GDK_BACKEND=wayland /usr/lib/firefox/firefox --new-window %u
Exec=env GDK_BACKEND=wayland /usr/lib/firefox/firefox --private-window %uBut when I execute Firefox (from Gnome dashboard), it ignores the environment variable.
It works when I execute "GDK_BACKEND=wayland /usr/lib/firefox/firefox" from commandline and if I execute .desktop file with dex.
What am I doing wrong?
Last edited by j1simon (2019-03-22 11:14:59)
Offline
This happens to me to. But with FF66 there is a new environment variable you can set on login
export MOZ_ENABLE_WAYLAND=true
I put this on my .zprofile and it works (I still have some problems with Wayland Firefox and AMDGPU)
Offline
Thanks, it works.
I put the environment variable in /etc/environment.
I have an Intel GPU and for the moment Firefox (Wayland) works well.
Offline