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:
Firefox
Add this to /etc/environment
:
MOZ_ENABLE_WAYLAND=1
and reboot.
Chrome
Open address:
chrome://flags/#ozone-platform-hint
and change the setting “Preferred Ozone platform” to “Wayland”, then click Relaunch".