2

I am experimenting with the Wayland option in Ubuntu 20:10 on a Raspberry Pi.

Wayland has a bad impact on Firefox such that its window becomes unreadable. To make Firefox work with Wayland I added the line:

export MOZ_ENABLE_WAYLAND=1

to the tail end of ~/.bashrc

Having done that I am able to use Firefox if I initiate it from the command line.

If I initiate Firefox by clicking the Firefox icon it behaves as if I had not set MOZ_ENABLE_WAYLAND=1

I contemplated messing with the shell script: /usr/lib/firefox/firefox.sh whilst it might work, I feel pretty sure it's not the right way to go.

Any ideas ?

2

1 Answer 1

4

Move the export command into ~/.profile. ~/.bashrc is only run when starting a Bash session, wheras ~/.profile is run with any session (including desktop sessions)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .