It would be very helpful to have a functionality of:
The problem with flatpak enter is that the only working "one-liner" for entering to some application's sandbox looks like flatpak enter $(pgrep application_name) bash. But what if we are running the same application outside of sandbox as well? Or if we are running many flatpaks for the same named application?
flatpak enter $(pgrep application_name) bash
My proposition is to:
flatpak is fundamentally stateless. i.e. there is no "manager" service that keeps track what is running and what is not. This is by design, as such things are likely to break in various ways, and miss or contain stale information.
It might be possible if we get the actual data from the kernel of course.