You can set environment variable MOZ_ENABLE_WAYLAND=1 and it will render natively in Wayland. Also, if you want to be able to do either Wayland or X11, you can put a little conditional in your .bash_profile to set it as needed. […and yes, if I add something to a config script, I also add a commented note to myself that I put it there in case I need to “troubleshoot” later.]
[[ -f ~/.bashrc ]] && . ~/.bashrc
# If Wayland session, then enable Wayland support in Firefox
# (added by jkmooney)
if [ "$XDG_SESSION_TYPE" == "wayland" ]; then
I haven’t tried it lately, but last time I launched FF with wayland rendering, there were issues with some of the graphical elements not appearing in the right places (like menu bar and popup menu items (like open link in new tab). Is it still an issue or have things moved forward (from someone who has done it lately?)?
I’ve tried to set the environment variable in the .desktop file as described in the wiki.
When I check the Firefox entry in my start menu (KDE) I can see that the env variable is in the command, but it doesn’t work for some reason. It only works when I execute the file in /home/user/.local/share/applications/firefox.desktop directly.
Anyone has an idea why? And what’s the actual benefit to run it as a Wayland application?