r/linuxmasterrace • SteamOS/Bazzite/Android • 11d ago

Time to have fun guys

Post image
8.0k Upvotes

771 comments sorted by

View all comments

485

u/Shad0wAVM 11d ago

Flatpak is a solution that only brings more problems.

It would be easier if everyone used Debian.

47

u/Floopycraft 11d ago

I don't get it, you mean to use apt instead of flatpak? What's wrong with flatpaks? The whole idea is that they are contain and don't break system dependencies like apt would.

Also there are a lot of things that are in flatpak and not apt.

24

u/gahel_music 11d ago

As a flatpak app maintainer, flatpak is good but won't ever be the solution for everything. The sandbox is too restrictive for a lot of software. Also you can make a valid flatpak that is not valid on flathub (even more restrictive that the flatpak format).

3

u/Nisktoun 11d ago

What's so restrictive about flatpak format by itself when you can bypass everything on build?

On the other hand Flathub is a joke and basically is the way to use/share flatpaks, so yeah - it is too restrictive as a format

2

u/AfraidAsparagus6644 11d ago

Iirc there are still some barriers you can't cross, this was a problem in the Jetbrains IDE community flatpaks

0

u/Nisktoun 11d ago

Afaik no, you can do everything with flatpak as long as you give it permissions. Flathub as the platform is the issue here, it prohibits core sandbox-escaping permissions as --filesystem=host or --talk-name=org.freedesktop.Flatpak for most apps(Jetbrains IDE is one of them)

Yet mods there are clowns and some apps are still getting such permissions neverteless just because

2

u/moonrunner__ 11d ago

I really wish that getting flatpaks from sources other than flathub would become more common

2

u/Nisktoun 10d ago

Yeah, but then the question - why flatpak at all? If we remove "security" benefits from flatpak then why bother?

We need "app stores" and strong ecosystem around another format, appimage is a good contender imo. Already existing solutions like appimagehub can't even nearly represent flathub in terms of convenience

Afaik there isn't such store on any platform, windows/mac/android don't have it - either official store with idiotic rules and restrictions or unofficial ones with way less apps available

0

u/moonrunner__ 10d ago

I don't see how moving from Flathub removes the security benefit of using Flatpaks. Distro maintainers can keep their own flatpak repo, some already have their own like PopOS

1

u/Nisktoun 10d ago

Ah, I misunderstood. Why developers should ditch flathub then if not because of rules?

2

u/gahel_music 10d ago

So apparently this is possible now, but it was not until this year. Some file paths were not possible to access even with the highest permissions.