by input_sh · 5y ago · 0 comments
My favourite feature is that it's all flatpak, allowing smartphone-like permissions for each desktop app — both first-party and any third-party from Flathub.
I like it way more than snap and am glad there's an Ubuntu fork that works so wonderfully with it.
There's also Flatseal (https://flathub.org/apps/details/com.github.tchx84.Flatseal) as a user-friendly way of managing permissions for flatpak apps. This version of elementary OS comes with its own permission manager, but with my limited experience with both, it seems like it allows tweaking less permissions than Flatseal.
Everything in that reference basically says "yep the criticism is valid" and in a few cases the author expands on that with "but it's ok because..." and then lists various reasons why it's fine that it's still a problem but that's it's being worked on. They also had to correct a good chunk of just outright incorrect information they were supplying mid-post about system updates.
One item was addressed, which was that flatpak now notifies the user that sandbox escapes are possible based on the app's configuration.
As a response to the criticisms, it's not a great one.
Consider also, there are better ways that some of these issues could have been tackled. Why not have flatpak prompt for permissions as they're used, e.g.: "This app wants to open your home directory" rather than at install-time. That would make it abundantly clearer to the end users this is aimed at.
I'm going out on a limb and guessing that it is because that's what is done in mobile, and it's usage in mobile has re-taught everyone the lesson that constant dialog prompts just train users to click through dialog prompts without reading them. That's bad, and annoying.
I do still think there are better solutions to that problem, but it would require more effort from users to get applications working if they weren't designed with sandboxing in mind, which is the vast majority of applications, which in turn means that Flatpak probably wouldn't have grown as quickly.
The end result being that you can't get everything in any one of them, and often can't get a particular application in any of them.
Plus I find the general sandbox approach to be a LOT more stable - distro upgrades rarely causes issues, and dependencies are much easier to wrangle.
Definitely still some hiccups, but overall it feels like it's moving in a direction that I find easier to work with - both as a user and a developer.
Plus the markets are generally fairly large - sure I still dip into aur every now and then, but I mostly find the "Software I need at work" stuff available
I think that speaks to a particularly huge failure of Linux Desktop more than anything else.
From my experience, most of the popular proprietary ones (think: Slack, Discord, Spotify, whatever) are distributed both as a flatpak and as a snap, while more niche desktop apps are usually flatpak-exclusive (out of those options).
Perhaps you just don't use that many things that aren't really popular or well known? I can't find PuTTY and KeePass (though obviously there are alternatives in those cases), applications that both have Linux versions and that I use every day (and aren't even that unknown).
Also, unfortunately the limitations of Flatpak mean even if what you want is there, say Wireshark, it often won't have full functionality because it is impossible to give it the permissions it needs. In Wireshark's case, it can't actually capture any packets. If you want to actually use it you'll still need to resort to a different installation method.
It's been some time since I last read anything like that from you. Would you mind to comment if ebpf usage and the possible new futex2 syscall helps to close the gap between linux and NT with regards to async primitives?