20
Why can't flatpaks just work
(lemmy.world)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
The default permissions for each app are up to the package maintainer. If something seems odd about a package, complain there.
Unfortunately this means that sometimes the project maintainers get complaints and not the package maintainer. Two projects I'm involved with don't officially support Flatpak. With one of them we do want to support it eventually but things just aren't there are and we have far bigger fish to fry.
The problem is that some well meaning people have created flatpaks and published them to flathub which means every single time something breaks or doesn't work correctly they come to the actual project to complain about something we didn't even do.
I think it would be good if they expanded the permissions system. Taking inspiration from the android world where it will ask for the permission whenever it needs to access something on the system. This is an ideal world but would take a lot of effort for the maintainers to implement. I guess it needs time to mature. I just hope flatpak devs want to adress the issue eventually... So far I only ever see people just accepting the way it is now and finding workarounds...
Android has the benefit of being greenfield and has an API that everything needs to go through to access the system. Flatpacks and snaps do not have this. They need to work with applications that were never designed to be sandboxed and just expect to have access to everything all the time so is a much harder problem to solve.
No reason why Flatpak can't create such an API though so that new applications can use it, older applications can eventually switch to, etc. We're already seeing adoption of things like xdg-desktop-portal so it isn't that out of the question.
Yes, but this takes time and still has to work with applications that dont support it. Where Anrdoid can just force everyone that wants to create an app to use their API. So it is harder for flatpack to encourage everyone to adpot it.
Of course, it will definitely take time to transition over, but that's the case for all APIs in the PC ecosystem. I am a firm believer of "if you build it people will come" and I am sure a well integrated Flatpak permissions system with good UX is a convincing argument for a lot of apps to switch over.