GNU bug report logs - #39950
flatpack packages can't open external applications

Previous Next

Package: guix;

Reported by: Damien Cassou <damien <at> cassou.me>

Date: Fri, 6 Mar 2020 14:42:02 UTC

Severity: normal

To reply to this bug, email your comments to 39950 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#39950; Package guix. (Fri, 06 Mar 2020 14:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Damien Cassou <damien <at> cassou.me>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 06 Mar 2020 14:42:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Damien Cassou <damien <at> cassou.me>
To: bug-guix <at> gnu.org
Subject: flatpack packages can't open external applications
Date: Fri, 06 Mar 2020 15:41:21 +0100
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




Information forwarded to bug-guix <at> gnu.org:
bug#39950; Package guix. (Fri, 20 Mar 2020 19:25:02 GMT) Full text and rfc822 format available.

Message #8 received at 39950 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Damien Cassou <damien <at> cassou.me>, 39950 <at> debbugs.gnu.org
Subject: Re: bug#39950: flatpack packages can't open external applications
Date: Fri, 20 Mar 2020 20:24:08 +0100
[Message part 1 (text/plain, inline)]
Damien Cassou <damien <at> 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?
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#39950; Package guix. (Sat, 21 Mar 2020 09:23:01 GMT) Full text and rfc822 format available.

Message #11 received at 39950 <at> debbugs.gnu.org (full text, mbox):

From: Damien Cassou <damien <at> cassou.me>
To: Marius Bakke <mbakke <at> fastmail.com>, 39950 <at> debbugs.gnu.org
Subject: Re: bug#39950: flatpack packages can't open external applications
Date: Sat, 21 Mar 2020 10:22:41 +0100
Hi,

Marius Bakke <mbakke <at> 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




This bug report was last modified 4 years and 35 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.