I am trying to allow a Flatpak application to launch certain other Flatpak applications, and I am wondering what is the best way to do this. Think of a launcher that must start up another Flatpak while providing a number of flags to it.
So far the best solution I have come up with is overriding the default permissions for said application by allowing it to talk to the
org.freedesktop.Flatpak session service:
flatpak override com.packagename.App --talk-name=org.freedesktop.Flatpak
However this means that the application can launch any Flatpak command using
Does anyone know if:
- there’s a better way to do this,
- it’s possible to allow an application to launch only specific applications,
- this would have any side-effects?