You are not logged in.
I have tried starting Firefox on sway in various ways:
MOZ_ENABLE_WAYLAND=1 firefox
env MOZ_ENABLE_WAYLAND=1 firefox
export MOZ_ENABLE_WAYLAND=1
firefoxNothing has worked. When I go to about:support it shows that it's running under xwayland and in the environment variables MOZ_ENABLE_WAYLAND doesn't show up. Is this a bug? I'm using the newest version packaged in the community repository.
Solution:
I don't know how that fixed it but setting MOZ_ENABLE_WAYLAND in /etc/environment fixed it.
Last edited by Chad Rosswick (2022-01-03 08:53:24)
Offline
You are not using the correct variable in your first 2 attempts and the last one ultimately depends on what your shell is doing. It works fine here FWIW with the first variant in bash.
Offline
You are not using the correct variable in your first 2 attempts
Oh yeah sorry I mistyped that. Still doesn't work though. I am using zsh but it doesn't work with bash either.
Offline
I have now tried starting sway without XWayland and Firefox is running on Wayland now. The problem is that I need XWayland for other applications so I can't keep it disabled.
Offline
@Chad: Did you get a solution for this issue eventually?
Offline
dbacc: I don't remember. This was a long time ago
Offline