flatpack packages can't open external applications

  • Open
  • quality assurance status badge
Details
2 participants
  • Damien Cassou
  • Marius Bakke
Owner
unassigned
Submitted by
Damien Cassou
Severity
normal
D
D
Damien Cassou wrote on 6 Mar 2020 15:41
(address . bug-guix@gnu.org)
87r1y535ri.fsf@cassou.me
Hi,

when I install a flatpak package under Guix System, this package works
but can't open external applications. This is a problem for some
applications, e.g., Blender will never open your web browser.

How to reproduce:

$ guix install flatpak

$ flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

$ flatpak --user install flathub org.blender.Blender

$ flatpak --user run org.blender.Blender

In Blender, click on the Help menu in the menu bar and choose "User
communities". This is supposed to open a web browser but no browser will
pop up.

When in bash, I can use xdg-open to open a web page without problem.

--
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
M
M
Marius Bakke wrote on 20 Mar 2020 20:24
87d0967rtz.fsf@devup.no
Damien Cassou <damien@cassou.me> writes:

Toggle quote (22 lines)
> Hi,
>
> when I install a flatpak package under Guix System, this package works
> but can't open external applications. This is a problem for some
> applications, e.g., Blender will never open your web browser.
>
> How to reproduce:
>
> $ guix install flatpak
>
> $ flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
>
> $ flatpak --user install flathub org.blender.Blender
>
> $ flatpak --user run org.blender.Blender
>
> In Blender, click on the Help menu in the menu bar and choose "User
> communities". This is supposed to open a web browser but no browser will
> pop up.
>
> When in bash, I can use xdg-open to open a web page without problem.

To my knowledge, Flatpak applications run in isolated containers and
thus have no visibility to the host system by default. Maybe there are
some command-line arguments you can add to give it access to what it
needs to open a browser?

It seems to me there is little Guix can do about it without breaking the
containerization features of Flatpak. WDYT?
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl51GFkACgkQoqBt8qM6
VPr8Iwf9G5+yrzER3TYJ3YQDzxpzSJ2eL6ohojkryySHCb8E/L1vbHYbvIxl7Mpz
4tX6n4UjNjqu6KfFR21yVlF2HumAq9ADVK1uGK/GoWdAdtS26bvZxe+4J9mOeBXk
0+gyBEHXkRHafDrkLK/qyS+tDdqHF8RhGy8/6hUSQqGv35nNaeIuHQAh/XWqHkGE
4vQz++yjNOpL31IePbcapU7XEh02Ul3O4vMnybyXJoIUPs8vLWPrBVtXj35gjjh8
N+M53cBJSQR69PlF+dglL7s1AvD25CLvlA9zdnET5dcSefcSgW97tgJPwe0rN0te
ol9MW31yltttZ59j5FawUbtNSCO79Q==
=BrpH
-----END PGP SIGNATURE-----

D
D
Damien Cassou wrote on 21 Mar 2020 10:22
87r1xmqcym.fsf@cassou.me
Hi,

Marius Bakke <mbakke@fastmail.com> writes:
Toggle quote (6 lines)
> To my knowledge, Flatpak applications run in isolated containers and
> thus have no visibility to the host system by default. Maybe there are
> some command-line arguments you can add to give it access to what it
> needs to open a browser?


When in Fedora, the exact same Flatpak command works fine: a browser
opens.

--
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
?