You are not logged in.

#1 2021-09-01 17:13:15

860lacov
Member
Registered: 2020-05-02
Posts: 497

[SOLVED] Blurry firefox in Wayland

I use KDE Plasma
I havee hdpi screen so I need to rescale the interface and firefox is blurry.
I already found that I can do :

MOZ_ENABLE_WAYLAND=1 firefox

But I don't want to run firefox from terminal. How can I make this persistent?

p.s.
It seems that there is a problem with scaling in libreoffice too, but I've found the solution in the other topic here.
But I would like to ask you something.
Does Gnome has similar problems with Wayland?

Last edited by 860lacov (2021-09-17 10:05:44)

Offline

#2 2021-09-01 17:26:09

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 413
Website

Re: [SOLVED] Blurry firefox in Wayland


"the wind-blown way, wanna win? don't play"

Offline

#3 2021-09-01 19:53:57

860lacov
Member
Registered: 2020-05-02
Posts: 497

Re: [SOLVED] Blurry firefox in Wayland

Thank you. To be honest, I don't understand this (not completely) but...
I appended MOZ_ENABLE_WAYLAND=1 firefox into /etc/environment and it works. But I'm not sure if this was the best / proper way.

Offline

#4 2021-09-01 20:04:44

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 413
Website

Re: [SOLVED] Blurry firefox in Wayland

That's one way of doing it, whichever way is "best" is up to your specific needs and use cases.

You've chosen to set it globally using /etc/environment. Please note the quote from the wiki below:

/etc/environment must consist of simple VARIABLE=value pairs on separate lines, for example

You definitely don't need to include the `firefox` command itself in your value, so in your case you should simply add to `/etc/environment` a line reading

MOZ_ENABLE_WAYLAND=1

I think it will effectively drop all other words after the initial assignment (maybe?), but I'd still suggest cleaning that up.


"the wind-blown way, wanna win? don't play"

Offline

Board footer

Powered by FluxBB