Can these commands make my browsers faster?

Hi. I read about these two commands in an article about 22.04 and I was wondering if the commands are unique to Jammy, or if I can add them to my Focal machine?

"Neither of the major web browsers enable native Wayland support by default yet, but they do support it. If you want the fastest, smoothest browsing experience (and more precise touchpad scrolling) then you can enable native Wayland rendering in:


Add this to /etc/environment:


and reboot.


Open address:


and change the setting “Preferred Ozone platform” to “Wayland”, then click Relaunch".

Hi @Anthony_Craig,

MATE desktop is not ported to Wayland (see the roadmap). So, if you are using Ubuntu MATE, these settings are useless for you.

Hope this helps.