Is it a good idea to replace the default firefox with the flatpak one?

Just install the official Mozilla Flatpak from Flathub + the ffmpeg-full extension, there’s absolutely no reason to use Fedora’s builds as an end user:

flatpak install flathub org.mozilla.firefox
flatpak install flathub org.freedesktop.Platform.ffmpeg-full

edit: With that being said, Flatpak Firefox in general doesn’t support installing Gnome Extensions through the addon, so you’re either going to have to keep rpm-ostree Firefox around or install these manually.

2 Likes

I wonder if flatseal can give the flatpak firefox the permissions it needs to install gnome extensions?

Not really, but if you really have to try you could give this a shot, provided you update any refernces to Gnome’s runtime etc to match the latest ones, though I would not suggest it.

You can find out more about this issue on this Gnome issue page and that Mozilla bug thread if you’re interested.

I’d suggest installing the extensions manually or using any unofficial Extension utility like GetExtensions or Annex.

If you wish to avoid using any such tools but don’t want to manually extract and copy stuff around you could also look up any extensions you’re interested in on the official Gnome page for them, download their achives and install the zipped bundles directly using the gnome-extensions like so:

gnome-extensions install some-extension.zip

3 Likes

Owwwww! A lot of thanks @kon14 !

I didn’t know gnome-extensions. I don’t need native browsers anymore.
This resource needs to be more widespread among Silverblue users.

1 Like

Regarding Flatseal and FF permisions, is it possible I can get Telnet links to point to the overlayed PuTTY? Same for SSH. I like how I can save sessions in PuTTY but it is tedious that hyperlinks do not open up a terminal session for me, I have to copy and paste the link info manually in.

I tried adding ‘/bin/putty’ to the Other files section but no luck so far, not sure if I need to restart or something.

One downside of the Firefox flatpak from Flathub is how it doesn’t support screen sharing in video conferences by default (unless that has changed in the latest version).

You can do an override to make it work though, and it’s pretty easy to do with Flatseal. Check out Screensharing problems in the Firefox flatpak after upgrade to Fedora Silverblue 34 - #4 by johnrory.odwyer

Hopefully this will be fixed at some point in the near future.

1 Like

I think it must have been fixed in 89, I just checked and it was in there. I’m pretty sure I did not add…

1 Like

To sum up, and please correct me if this is wrong. At the moment the only advantage of fedora’s rpm-ostree firefox at the moment is that it is required for gnome-shell-extensions?

There’s also KDE Connect and GSConnect (for Gnome) browser plugins being unable to connect to the native host which has to be repackaged for Flatpak in order to work.

1 Like

Super useful to know!

The main dealbreaker for me is the lack of Native Messenger capabilities for the Firefox Flatpak, due to the sandboxing mechanisms of Flatpak.

I use the Tridactyl addon’s native messenger to open videos in a floating MPV window (like picture-in-picture but 10x better), copy links with keyboard shortcuts, etc. I can’t do these things with the Flatpak version, so the Flatpak is less useful to me.

1 Like

I feel like all the feedback in this thread are things we should be telling to the flatpak maintainers. It’s also possible that flatseal could automagically fix some of them.

Yup, they recently resolved the issue: ⚙ D110021 Bug 1648029 - Enable PipeWire support in Flatpak r?mtabara!.

As for the OP, @myself, if we’re talking about Flathub, I really think the Firefox flatpak should be the default, even if there are currently problems with it. Browsers are no joke; they’re immense projects and they require dedicated and qualified teams to do research, develop, patch, etc., so keeping them up to date at day 1 is crucial for security purposes. Flathub’s Firefox is updated very quickly and released in much less than a day for those who use it, while Fedora can take several days to release the latest version of Firefox, which is the main reason I use the flatpak.

2 Likes

Please remember that we can not use most Flatpaks from Flathub by default for licensing reasons.

1 Like

What do you mean by that? If you’re talking about proprietary software, then Flatpak/Flathub already has a workaround for that called extra-data, which was designed to include proprietary software without redistributing. This video explains what extra-data does in practice.

2 Likes

Did you also uninstalled the default firefox?

No. I still have it on my system but I don’t use it at all.

I’m still using Firefox from Fedora official repository. I usually search on Flatpak when it’s not in the official repositories.

Personally, I would be glad to see Firefox removed from the OS image.

I’ve been using Firefox from Flathub since it first came out – must’ve been at least a year by now. Works completely fine for me with Wayland, WebRender, 120 Hz, and hardware accelerated video.

It might come down to your trust on the maintainers. If you would rather use a flatpak built by fedora maintainers you can add the fedora flatpak repo. Firefox in the fedora flatpak repo seems to be tracking the latest version. Some packages in the fedora flatpak repo may not be the latest but I trust the review process the in there more than the flathub ones.