-
I'm trying to launch flatpak apps via "apps.json" when running Sunshine itself as a flatpak. Background: This doesn't work normally as flatpak apps do not have access to apps on the host. This can be circumvented with the "flatpak-spawn" app, which allows access as long as the "org.freedesktop.Flatpak" permission is correctly set, which is the case for Sunshine out of the box. To take a step back: Launching flatpak apps works fine as long as Sunshine is installed and launched as a regular app, e.g.
However, this doesn't work when Sunshine itself is launched as a flatpak app. I can access the Desktop and start flatpak apps from there, but not via shortcut with the above command. Therefore, I tried using "flatpak-spawn" which works when used via
... but not when inserting the "flatpak-spawn" command in "apps.json", i.e.
Does anybody have an idea how to make the "flatpak-spawn" command work for "apps.json" shortcuts? |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 1 reply
-
Never mind, I'm an idiot - it works as expected when using the correct "apps.json" in "/.var/app/dev.lizardbyte.sunshine.config/sunshine" ;-) I'll leave this up as the "flatpak-spawn" command isn't too well known and might help somebody else. |
Beta Was this translation helpful? Give feedback.
Never mind, I'm an idiot - it works as expected when using the correct "apps.json" in "/.var/app/dev.lizardbyte.sunshine.config/sunshine" ;-) I'll leave this up as the "flatpak-spawn" command isn't too well known and might help somebody else.