FrancescoCeruti / linux-show-player

Linux Show Player - Cue player designed for stage productions
https://linux-show-player.org
GNU General Public License v3.0
207 stars 49 forks source link

Command Cue not working properly in Flatpak #310

Closed FrancescoCeruti closed 7 months ago

FrancescoCeruti commented 7 months ago

Since Flatpak packages are run in sandbox, by default, they cannot run commands on the "host" system, this affect command cues, reducing their usefulness.

Currently we can use the following workaround:

  1. Allow the LiSP package to use the org.freedesktop.Flatpak D-Bus interface, this can be accomplished using Flatseal
  2. Prefix all commands with flatpak-spawn --host (https://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak-spawn)

We should incorporate this workaround, to make command cues work without user intervention