unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39950: flatpack packages can't open external applications
@ 2020-03-06 14:41 Damien Cassou
  2020-03-20 19:24 ` Marius Bakke
  0 siblings, 1 reply; 3+ messages in thread
From: Damien Cassou @ 2020-03-06 14:41 UTC (permalink / raw)
  To: 39950

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#39950: flatpack packages can't open external applications
  2020-03-06 14:41 bug#39950: flatpack packages can't open external applications Damien Cassou
@ 2020-03-20 19:24 ` Marius Bakke
  2020-03-21  9:22   ` Damien Cassou
  0 siblings, 1 reply; 3+ messages in thread
From: Marius Bakke @ 2020-03-20 19:24 UTC (permalink / raw)
  To: Damien Cassou, 39950

[-- Attachment #1: Type: text/plain, Size: 1091 bytes --]

Damien Cassou <damien@cassou.me> writes:

> 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?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#39950: flatpack packages can't open external applications
  2020-03-20 19:24 ` Marius Bakke
@ 2020-03-21  9:22   ` Damien Cassou
  0 siblings, 0 replies; 3+ messages in thread
From: Damien Cassou @ 2020-03-21  9:22 UTC (permalink / raw)
  To: Marius Bakke, 39950

Hi,

Marius Bakke <mbakke@fastmail.com> writes:
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-21  9:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-06 14:41 bug#39950: flatpack packages can't open external applications Damien Cassou
2020-03-20 19:24 ` Marius Bakke
2020-03-21  9:22   ` Damien Cassou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).