Mullvad Browser defaults to using X11/Xwayland, which is inherently insecure. As it’s based on Firefox it can be used on Wayland without any compatibility issues with the following command
MOZ_ENABLE_WAYLAND=1 ./start-mullvad-browser --detach
But can anyone tell me how exactly I make this flag permanent? I tried adding the flag to the .desktop file but with no success.
Also a note: Should applications and especially browsers perhaps have an explanation on how to run them on Wayland?