Its even worse when you force Firefox to use wayland its icon doesn’t even show.
Edit: Oh since everyone now is confused; I only have the flatpak version of Firefox installed yet it doesn’t use the pinned icon and doesn’t even use the firefox icon under wayland at all.
The point is still that you distribute a OS with your application, that’s just silly and lazy.
Not really, if you think about how many distros there are and how many people are currently wasting time with re-packaging software over and over for them i think you’ll come to realize that this is a very clever and efficient move. The way it is done currently seems rather silly in comparison.
Sidenote: You keep using the term OS … which is false in the sense, that flatpak doenst come with a direct hardware layer / kernel
Aside from the kernel you still need most libs, including glibc so it’s a OS without the kernel.
Next evolution will then be to use flatpak from within flatpak or what?
just thought you wanted to use the term OS in a way that people will understand you. Saying OS without the kernel … sounds to me like
i want a sandwich without filling ....
.Is this a joke about para-virtualization? - anyway, i think flatpaks abstraction and isolations make sense. Not to much and not to little. Just enought to keep an application isolated from the basesystem while using portals to interact with necessary apis.
Using the word OS puts across my point, because when you start packaging your toolchain with glibc and whatever libs you need for your application, you end up with a good part of the Linux file system. Yes there’s missing services and so on but they could run if needed.
It’s not a virtualization joke, it’s more of a “we put flatpak in your flatpak so you can flatpak while you flatpak” recursion joke.
Most system libraries are included in runtimes that are shared among applications.
Sounds more and more like flatpak is a distribution atop of a distribution.
Good you can share libs, although I can’t see sense in sharing more than the absolute basic libs, and even then some applications will need different versions of the basic libs.
What is your opinion on Nix?
From what I gather nix is more of a next generation package manager than a application container/sandbox which means potential security problems with old libs could be less, or rather they are probably at the same level as rpm/deb.
I don’t see any problems with rpm/deb/etc. ending up getting the boot by nix or another package manager just because they are better, that’s just evolution.
As someone said about flatpak/snap that their ‘hidden’ strength is distribution of proprietary software, that’s fine by me if that’s the main usage of them.
The sandbox feature can be solved by SELinux/docker/and several other ways depending on usecase.
This is Docker’s whole shtick, and look how popular that is 🤷♂️
Docker is made for servers, it’s totally a different usecase.
I am not anti VM and docker, I just don’t think we need more levels of indirection in the OS, I also don’t think a distro based heavily on flatpak will be any good, one thing is sure it will be using a lot of diskspace and memory, as there’s no sharing of libs. And if flatpak starts sharing libs it just re-invented the GNU linker.
I mostly agree with those points.
Flatpak does support sharing ‘libraries’ (although not in the way you mean), however from my perspective the main problem is developers referencing
Kde-Framework-420.69.1
, and others referencingKde-Framework-420.69.1-rc1
or various other variations of very similar dependencies, which tends to eat up additional disk space. I’m personally not too bothered by it, but that’s only because I have the storage space for that.With flatpak’s shtick being isolation and a consistent runtime environment, I doubt there’ll be true sharing of linked libraries and the associated memory space, so excess RAM usage and disk space as you’ve mentioned.
The distros based on Flatpak (can’t remember the names right now sadly) are mostly immutable ones, where the base system remains untouched, and in that scenario I think it makes the most sense, particularly in education.
The instances I use flatpak are slightly similar to that, with the difference being the libraries available in the base system may be too old to run the application natively
I believe the immutable distros you’re referring to are Fedora Silverblue and Fedora Kinoite.