Preludium: I am new to Silverblue and new to Fedora (experience mostly with Debian, CoreOS and Ubuntu) and I got myself into a mess by trying to install video and audio codecs for use by the system Firefox with rpm-ostree. Those I want to clean up too, but that will be a different thread.
I installed the Firefox flatpack from flathub:
That worked fine, the correct flatpack starts, videos play, codecs are vendored into the flatpack. But the GUI and the rendered websites were not crisp as I am using a scaling factor of 1.5 and the flatpack does not seem to use that if I understood correctly.
Searching in this forum I found this hint about telling the flatpack Firefox to use Wayland, which made sense to me, so I ran these three commands:
But if I now run
flatpak run org.mozilla.firefox it starts the system’s Firefox (conveniently a version 85.0 so easy to distinguish from the flatpacks version 86.0) instead of the flatpack one.
To make things more confusing,
flatpak run org.mozilla.firefox --version returns as it should
Mozilla Firefox 86.0.
So how do I make
flatpak run org.mozilla.firefox actually run the flatpack but using Wayland and hence correct scaling?
Related question: Is there a way to enforce Wayland for other flatpack too? Blurry text is not that ergonomic in Bitwarden, Zoom, MS Teams, Glimpse or Signal either.