From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 14 05:00:42 2022 Received: (at 59825) by debbugs.gnu.org; 14 Dec 2022 10:00:42 +0000 Received: from localhost ([127.0.0.1]:38014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5OZ8-0007Vu-Av for submit@debbugs.gnu.org; Wed, 14 Dec 2022 05:00:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5OZ7-0007VZ-6c for 59825@debbugs.gnu.org; Wed, 14 Dec 2022 05:00:41 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5OZ1-0003kf-WB; Wed, 14 Dec 2022 05:00:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=0PQpnV6JAoND//EgviVJBib3Fdv42V33O50I5IRtkpE=; b=YfTWUBE3jShtzizm1Nfj NIe19pkC4Ww3hDFmRJAkUHNaCHZCOL8+YpZHjp5MKiFdSL0sM0BYWKLbNEZnafYCAy1fldU4nqv6R LT91jswj8fGne0X5a7aQOMSDcBL8njNqmyrV/mUekd0xxa/B6FJnMwU0FkhusZvstxR47sy3Ba9fN Hn/PMuMr4nCPCmm5X97Io7S1g43eBPoG8jovUrGpdWzdz3HQmDQlpcFbC44RenjXliMGn4ooyWuzq XbepP3xB2GucaXB9J3b3UejQaF81rkuaxvZNZgPDBrg8k31uj2aIAbUYe5R2f5N+TOomtXkuGmLKx TJ0MVQP3a4vOXg==; Received: from eduroam-111172.grenet.fr ([130.190.111.172] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5OYg-0003SZ-EX; Wed, 14 Dec 2022 05:00:35 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: John Kehayias Subject: Re: bug#59825: [PATCH] gnu: Add flatpak-xdg-utils. References: <87wn764xzf.fsf@protonmail.com> Date: Wed, 14 Dec 2022 11:00:11 +0100 In-Reply-To: <87wn764xzf.fsf@protonmail.com> (John Kehayias's message of "Sun, 04 Dec 2022 22:15:23 +0000") Message-ID: <871qp2uwyc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 59825 Cc: 59825@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! John Kehayias skribis: > Here is a little package from the Flatpak folks which is also useful in a= guix shell container. This lets you run, for example, xdg-open in the cont= ainer and it will open on the host side. So let's say you come across a URL= , you can just use xdg-open from this package so it will open in the host's= web browser, rather than trying in the container. This relies on having po= rtals on the host side, like xdg-desktop-portal-gtk. > > Here is a simple test example: > > guix shell -NC flatpak-xdg-utils --preserve=3D'^DBUS_SESSION_BUS_ADDRESS$= ' -- xdg-open "" > > which will open Guix's website on the host side. Interesting (and scary as well, depending on how it=E2=80=99s implemented). Don=E2=80=99t you need to share /tmp as well? =E2=80=98DBUS_SESSION_BUS_AD= DRESS=E2=80=99 refers to a socket in /tmp for me. > From 8669a7fb0e1b9ba320c6312d7423500a56236edc Mon Sep 17 00:00:00 2001 > From: John Kehayias > Date: Sun, 4 Dec 2022 17:06:19 -0500 > Subject: [PATCH] gnu: Add flatpak-xdg-utils. > > * gnu/packages/freedesktop.scm (flatpak-xdg-utils): New variable. mentions a build failure on i686-linux; could you take a look? Apart from that, it LGTM! Thanks, Ludo=E2=80=99.