xdg-open uses diffrerent app in-sandbox and outside

Alexander Larsson alexl at redhat.com
Fri May 3 09:10:44 UTC 2019


On Sun, Apr 14, 2019 at 2:06 PM Roman Evstifeev
<someuniquename at gmail.com> wrote:
>
> Hi list!
> I installed Slack app from falthub, and it opens http urls in the
> SeaMonkey browser, instead of my systemwide-configured Firefox. And
> this command indeeed launches SeaMonkey: "flatpak run -d
> --command=xdg-open com.slack.Slack http://google.com"
>
> Is it possible to configure flatpak so that sanboxed app honor file
> and url associations of the host?

xdg-open in the flatpak uses the portal APIs to open things, because
it doesn't really have full access to the host info/apps. However, the
portal should be able to see the associations, so something must be
going wrong here. What portal implementation are you running? i.e.
xdg-desktop-portal-gtk? or are you using xdg-desktop-portal-kde?


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                Red Hat, Inc
       alexl at redhat.com         alexander.larsson at gmail.com


More information about the Flatpak mailing list