I have pretty fastidiously avoided ever using any of the "package everything into the image" projects, and my life has been considerably better off.
All these things serve to do is make the developer experience easier, at the cost of delivering a much worse user experience.
I can't think of any reason a user would ever prefer packaged variant of something.
A few ships with "installers", which are mostly just bash scripts with the tgz embedded.
Simple enough.
Of course, the world changes. Running X11 software might be tricky a few decades from now if nobody speaks the protocol. Something compiled for ALSA or esound might not work forever. Software dependent on a mail transport might not work when email is finally dead and everyone uses Facebook instead. Perhaps one day IPv4 sockets won't be available.
That type of dependencies are the hard ones that will kill your software before any binary incompatibilities will. As long as there is a.out binaries or 32-bit software out there someone will make it work. Software from the past three decades still runs so there's hope for the next three.
Until then, don't let perfect be the enemy of what's simple and works.
But Flatpak does not do this. It consists of runtimes that usually contain the most of what applications needed, and are updated separately from the application itself.
Who are you and how can we trade places?
It's not as if non-Flatpak apps can't do this either, but the false sense of security from Flatpak may encourage people to download apps they wouldn't otherwise.
Unlike Android/iOS where Google/Apple can push developers to update their apps to use new apis, or say bye bye to those that don't, there's no motivation for Linux app devs to update their applications to use portals to avoid the need for filesystem=home, and as long as that exists people will just install them with a false sense of security.
Flatpak is not a security project, it's an app distribution one (which I think it does a generally better job than native packages, but the bar is low). The sandbox should be considered part of the separation from host dependencies, nothing else.
WesolyKubeczek•6mo ago
I'd like to have a system where I can choose to give any bitmap, movie, or blank screen when an application asks me for permission to use my camera. It shouldn't know that I have denied it. When it asks for my microphone, I should be able to choose to make it think I allowed it microphone access with dummy audio stream with no audio or audio of my choice. When it asks me to open a file, or a directory, it should invoke a system dialog that cannot be faked, and when I pick a file/directory for it, that directory or file should be bind-mounted into its mount namespace without giving it extra information about other files beside it, or indeed what's the full path of the file. When recording a screen, I should be able to pick which regions and which applications it should be able to see, and the system should make it think it's all there is.
All the while the application doesn't even have to cooperate. This is the important bit.
I think the pieces to do this are mostly there already (portals, Pipewire, namespaces), it's just a lot of faff to actually implement.
bestorworse•6mo ago
Risking getting down voted but I don't want to repeat myself: https://news.ycombinator.com/item?id=43255985
freedomben•6mo ago
AlienRobot•6mo ago
Linux desktop is a huge mountain of "why this basic obvious stuff just doesn't work?"
I mean just stop to consider this. It's 2025. You are still not guaranteed to be able to close an application by moving the mouse all the way to the top right and clicking, because sometimes the X button has a margin at the top. This is insane to me. This is like such a basic thing that I have no idea how do you even manage to get it wrong.
If Linux can't even get the X button right, do you seriously expect anything else to ever get fixed?
pstuart•6mo ago
AlienRobot•6mo ago
pstuart•6mo ago
While Linux, like everything else, is not perfect, it is technically just the kernel, and the version of linux you installed was called a "distribution", and they normally package one or more varieties of GUIs (Graphical User Interface), commonly known as a "Desktop Environment".
Here is a list for your edification: https://en.wikipedia.org/wiki/Desktop_environment
You may want to file a bug report for their respective project, or if you're up to it, fix the problem yourself instead of just complaining about it.
dangus•6mo ago
Frankly, if you don’t know this basic fact about Linux you aren’t a reliable source of opinion on whether the Linux desktop is a “huge mountain of obvious stuff that doesn’t work.”
Modified3019•6mo ago
CaliforniaKarl•6mo ago
An app wanted permission to my photos. In addition to the normal "Allow" and "Deny" options, I was also given the option to allow a subset of photos. I chose that option, and was given the normal photos UI, as if I was selecting a set of photos to share or delete. I guess in the back-end, iOS constructed a new photos library consisting of just the ones I selected.
It was cool! And it's good to see things at least one of the things you describe is being shown to a large number of folks. Hopefully that'll drive momentum to wider adoption.
nolist_policy•6mo ago
dylan-m•6mo ago
You've described exactly what flatpak is doing? I'm curious what gaps you see with its approach in particular.
dylan-m•6mo ago
dylan-m•6mo ago
nolist_policy•6mo ago
zzo38computer•6mo ago
It is what I had thought too (you could also provide a filter, or the video and/or audio output of another program, or other stuff), and I have also seen others with similar ideas than that as well. (It also does not know whether or not you even have a camera or microphone; this way, you can use a program that expects a camera even if you do not have it.)
Although it could be made with Linux and existing systems, my idea was to redesign the entire operating system and computer to support this in order to work better. There is some issues which are not handled by the existing systems, including some fingerprinting, and date/time, and some others.
> When it asks me to open a file, or a directory, it should invoke a system dialog that cannot be faked, and when I pick a file/directory for it, that directory or file should be bind-mounted into its mount namespace without giving it extra information about other files beside it, or indeed what's the full path of the file.
This would be insufficient for many uses, e.g. if a file name is specified by command-line arguments or by configuration files, or if the program does care about other files with a similar name (which SQLite does, so many programs that use SQLite also will). (I had thought of how a sandbox library could be made to support some of these things could be made on Linux, although I had never actually designed or implemented it.)
> When recording a screen, I should be able to pick which regions and which applications it should be able to see, and the system should make it think it's all there is.
Yes, I agree, it is also a good idea. But, screen recording will also be video input, which the camera also is, so it might work in a similar way.
> I think the pieces to do this are mostly there already (portals, Pipewire, namespaces)
I also think there is problems with the ways some of these things are working. One is that the system will use ambient authority (which is one reason why I had suggested to make up a new operating system instead), and some of the protocols expect use of Unicode and do not support other character sets so well, and the existing sandboxing also does not work very well for user-specified commands to use with popen (many of my own programs do use user-specified commands with popen).
its-summertime•6mo ago
This is the norm under Flatpak + pipewire for single application captures. For full screen captures, Niri supports blanking specific windows from appearing in captures.