You can always add the env var in /etc/profile, though there are likely more fine grained approaches (like editing the firefox.desktop file) that won’t set vars for everything.
That’s described in the linked article. You can add it to the environment variables in the bash profile, but I put it in the KDE environment variables in $HOME/.config/plasma-workspace/env/.
Also, if using the flatpak version, you can use flatseal to give it access to that variable under “Environment” or use flatpak override --env=MOZ_ENABLE_WAYLAND=1 org.mozilla.firefox
You can set MOZ_ENABLE_WAYLAND=1 to have it today!
https://wiki.archlinux.org/title/Firefox#Wayland
How do you make it permanent though?
You can always add the env var in /etc/profile, though there are likely more fine grained approaches (like editing the firefox.desktop file) that won’t set vars for everything.
That’s described in the linked article. You can add it to the environment variables in the bash profile, but I put it in the KDE environment variables in
$HOME/.config/plasma-workspace/env/
.What do you mean?
Also, if using the flatpak version, you can use flatseal to give it access to that variable under “Environment” or use
flatpak override --env=MOZ_ENABLE_WAYLAND=1 org.mozilla.firefox
You could do that years ago. I’ve been using Wayland for 1+year and its solid
Yes, but you can also do it today if you didn’t do it years ago :)