flatpack packages can't open external applications

OpenSubmitted by Damien Cassou.
Details
2 participants
  • Damien Cassou
  • Marius Bakke
Owner
unassigned
Severity
normal
D
D
Damien Cassou wrote on 6 Mar 15:41 +0100
(address . bug-guix@gnu.org)
87r1y535ri.fsf@cassou.me
Hi,
when I install a flatpak package under Guix System, this package worksbut can't open external applications. This is a problem for someapplications, 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 "Usercommunities". This is supposed to open a web browser but no browser willpop 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 withoutlosing enthusiasm." --Winston Churchill
M
M
Marius Bakke wrote on 20 Mar 20:24 +0100
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 andthus have no visibility to the host system by default. Maybe there aresome command-line arguments you can add to give it access to what itneeds to open a browser?
It seems to me there is little Guix can do about it without breaking thecontainerization features of Flatpak. WDYT?
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl51GFkACgkQoqBt8qM6VPr8Iwf9G5+yrzER3TYJ3YQDzxpzSJ2eL6ohojkryySHCb8E/L1vbHYbvIxl7Mpz4tX6n4UjNjqu6KfFR21yVlF2HumAq9ADVK1uGK/GoWdAdtS26bvZxe+4J9mOeBXk0+gyBEHXkRHafDrkLK/qyS+tDdqHF8RhGy8/6hUSQqGv35nNaeIuHQAh/XWqHkGE4vQz++yjNOpL31IePbcapU7XEh02Ul3O4vMnybyXJoIUPs8vLWPrBVtXj35gjjh8N+M53cBJSQR69PlF+dglL7s1AvD25CLvlA9zdnET5dcSefcSgW97tgJPwe0rN0teol9MW31yltttZ59j5FawUbtNSCO79Q===BrpH-----END PGP SIGNATURE-----
D
D
Damien Cassou wrote on 21 Mar 10:22 +0100
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 browseropens.
-- Damien Cassou
"Success is the ability to go from one failure to another withoutlosing enthusiasm." --Winston Churchill
?