Forum Discussion
christianfosli1
Mar 04, 2024Copper Contributor
How to set the ozone platform hint flag
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 c...
pedrotorres
Microsoft
Aug 29, 2024joelmurphy444, AFAIK reading flags from ~/.config/microsoft-edge-stable-flags.conf is an Arch-specific patch and is not supported upstream or in other distros. See https://aur.archlinux.org/cgit/aur.git/tree/microsoft-edge-stable.sh?h=microsoft-edge-stable-bin.
The PWA problem should be addressed when edge://flags/#ozone-platform-hint becomes available by enabling that flag. For now, you could edit ~/.local/share/applications/msedge-*.desktop for each PWA and add the flag there. Another option would be to add the flag to /opt/microsoft/msedge/microsoft-edge, but that would be lost upon updating the browser.
The PWA problem should be addressed when edge://flags/#ozone-platform-hint becomes available by enabling that flag. For now, you could edit ~/.local/share/applications/msedge-*.desktop for each PWA and add the flag there. Another option would be to add the flag to /opt/microsoft/msedge/microsoft-edge, but that would be lost upon updating the browser.
- joelmurphy444Aug 29, 2024Copper ContributorOh yeah, I didn't notice it was part of the AUR package, thanks for the info!
I've gotten so used to -flags.conf (chromium-flags.conf, electron-flags.conf) that I didn't realise until now after digging into the PKGBUILDs that all these files are Arch-specific.
I indeed have been editing ~/.local/share/applications/msedge-*.desktop files, to varying degrees of success. Outlook PWA seems to overwrite its desktop file almost every time I try to use it. I went for the nuclear option in the end and set the immutable attribute on those desktop files. I'm sure this will come back to haunt me in the future.