Mar 04 2024 12:05 PM
I have a laptop with a high-res screen, running Ubuntu 22.04 and fractional scaling enabled at 175%. This works nicely for Wayland applications, but XWayland/Xorg applications become blurry.
In chrome and chromium I can make the browser use Wayland by setting the flag chrome://flags/#ozone-platform-hint to "auto", but this flag seems to be missing in Edge.
I noticed I can launch successfully edge from the terminal with --ozone-platform-hint=auto, and I played a bit with updating the .desktop file Exec command's to include this, but this would break PWA's I have installed such that they no longer appear as dedicated applications.
Any one know any good work-arounds? And if anyone from the Edge product/development team reads these discussions then please consider this a feature request to add the missing flag 😄
Jul 29 2024 07:08 AM
I second this. This is a very useful little feature that unfortunately is missing.
Aug 28 2024 11:12 AM
Aug 28 2024 11:46 PM
So, you can set these flags without needing to edit desktop files if you create the file "~/.config/microsoft-edge-[stable/beta]-flags.conf" or something similar. You may need to name the file in accordance with the program name (the one you could type in the terminal to launch Edge).
So for example for me on Arch Linux I have "~/.config/microsoft-edge-stable-flags.conf".
You might have "~/.config/microsoft-edge-beta-flags.conf". Or maybe just "microsoft-edge-flags.conf" I'm not quite sure what all the possibilities are.
In my microsoft-edge-stable-flags.conf I have:
--password-store=gnome-libsecret
--ozone-platform-hint=wayland
--gtk-version=4
--ignore-gpu-blocklist
The important part is the ozone-platform-hint line, the rest is stuff you may or may not need. I would begin with:
--ozone-platform-hint=wayland
And you probably don't need any more than this.
HOWEVER
I've noticed these flags don't seem to apply to any progressive web apps (PWAs) that have been installed, so in this case to prevent PWAs from running in XWayland I had to edit their desktop files (msedge-.....[loads of stuff].desktop) and add "--ozone-platform=wayland" to the Exec line in those.
I haven't found a fix for this, and it's quite annoying because the PWA desktop files seem to get overwritten periodically.
Aug 28 2024 11:47 PM
Aug 29 2024 11:56 AM
Aug 29 2024 12:03 PM
Aug 29 2024 12:20 PM