Launching Flatpak inside Flatpak

Hello everyone,

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.

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 flatpak-spawn --host.

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?

Thank you!

I have no idea, just a pointer - you might find a better advice at or .