flathub / org.qbittorrent.qBittorrent

https://flathub.org/apps/details/org.qbittorrent.qBittorrent
9 stars 12 forks source link

'Run external program on torrent completion' does not work in flatpak version #133

Closed luzpaz closed 11 months ago

luzpaz commented 11 months ago

https://github.com/qbittorrent/qBittorrent/issues/16989

Erick555 commented 11 months ago

As commented in the linked thread this is by design. It can be worked around by adding --talk-name=org.freedesktop.Flatpak permission then executing external commands like flatpak-spawn --host <actual_command>.

I wouldn't recommend doing this in app by default since it makes escaping sandbox trivial (it also requires acceptance from flathub admins).

luzpaz commented 11 months ago

Thanks.
Closing.