A short guide on how to install Firefox from a PPA on Ubuntu 22.04 and remove the Firefox Snap. Doing this gets you a faster Firefox that can do more OOTB.
I know. I just installed the latest Kubuntu LTS on my system and I'm regretting it because of the Snap exclusivity. If it wasn't for that, if I still had the option to install a .deb from Ubuntu's repos, it would be great. But, that's sadly not the case.
The only places I've felt the pain were firefox, chrome, and eclipse. I'll check later to see what snaps are installed but the sandbox is mostly not noticed. The main issue is that the app with this biggest attack surface (Firefox) is also the one I explicitly want to access my whole system.
Chrome I only installed because ff didn't work, but it was no better.
Snaps are the almost the exact same thing as Flatpaks, except for the fact that they're stored compressed on your disk, requiring them to be decompressed before execution, which explains the slow startup time.
The Flatpak version of Firefox has the exact same problems as the Snap when it comes to some extensions. One such example is using the KeePassXC password manager with the browser extension. The extension can't communicate with the password vault app because of sandboxing in either the Flatpak or Snap.
That's not really the case as Flatpak is a totally different architecture. Flatpak uses bubblewrap which runs as a local use and doesn't require the crazy complex thing called snapd. It is much cleaner and way more portable. Also it has more apps as it is way more popular and not tied to a single company.
That's only a few reasons why Flatpak is so much better
It seems disproportionately complicated relative to how basic the task is. I've definitely done more complicated stuff, despite being more of a graphical interface person, it just seems like such a basic (and common) thing a user might want, it seems like it should be as simple as sudo apt install <package name>. As long as I'm using apt and not snap, I expect it to install the .deb package. It feels user hostile :/
Yeah I tried, than ran into the same problems as snaps. Basically the sandboxing prevents extensions from communicating with some helper tools.
For example, I use KeepassXC password manager. Firefox has an extension that can connect to it to retrieve and store login information. However, if I use either Flatpak or Snap, it's blocked.