You are not logged in.

#1 2022-01-03 06:45:41

Chad Rosswick
Member
Registered: 2021-06-27
Posts: 36

[SOLVED] Firefox ignores MOZ_ENABLE_WAYLAND

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
firefox

Nothing 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

#2 2022-01-03 07:41:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,285

Re: [SOLVED] Firefox ignores MOZ_ENABLE_WAYLAND

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

#3 2022-01-03 08:17:22

Chad Rosswick
Member
Registered: 2021-06-27
Posts: 36

Re: [SOLVED] Firefox ignores MOZ_ENABLE_WAYLAND

V1del wrote:

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

#4 2022-01-03 08:30:11

Chad Rosswick
Member
Registered: 2021-06-27
Posts: 36

Re: [SOLVED] Firefox ignores MOZ_ENABLE_WAYLAND

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

#5 2023-10-08 11:01:27

dbacc
Member
Registered: 2014-09-25
Posts: 120

Re: [SOLVED] Firefox ignores MOZ_ENABLE_WAYLAND

@Chad: Did you get a solution for this issue eventually?

Offline

#6 2023-10-08 11:15:32

Chad Rosswick
Member
Registered: 2021-06-27
Posts: 36

Re: [SOLVED] Firefox ignores MOZ_ENABLE_WAYLAND

dbacc: I don't remember. This was a long time ago

Offline

Board footer

Powered by FluxBB