GNU bug report logs - #59825
[PATCH] gnu: Add flatpak-xdg-utils.

Previous Next

Package: guix-patches;

Reported by: John Kehayias <john.kehayias <at> protonmail.com>

Date: Sun, 4 Dec 2022 22:16:01 UTC

Severity: normal

Tags: patch

Done: John Kehayias <john.kehayias <at> protonmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: John Kehayias <john.kehayias <at> protonmail.com>
Subject: bug#59825: closed (Re: bug#59825: [PATCH] gnu: Add
 flatpak-xdg-utils.)
Date: Tue, 03 Jan 2023 17:36:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#59825: [PATCH] gnu: Add flatpak-xdg-utils.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 59825 <at> debbugs.gnu.org.

-- 
59825: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59825
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: John Kehayias <john.kehayias <at> protonmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 59825-done <at> debbugs.gnu.org, 59825 <at> debbugs.gnu.org
Subject: Re: bug#59825: [PATCH] gnu: Add flatpak-xdg-utils.
Date: Tue, 03 Jan 2023 17:35:25 +0000
Pushed as 2f0418cd2c33497130e1b764952e8063117d7f8a (my first commit!)


[Message part 3 (message/rfc822, inline)]
From: John Kehayias <john.kehayias <at> protonmail.com>
To: Guix-patches <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add flatpak-xdg-utils.
Date: Sun, 04 Dec 2022 22:15:23 +0000
[Message part 4 (text/plain, inline)]
Hi Guix,

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 container 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 portals on the host side, like xdg-desktop-portal-gtk.

Here is a simple test example:

--8<---------------cut here---------------start------------->8---
guix shell -NC flatpak-xdg-utils --preserve='^DBUS_SESSION_BUS_ADDRESS$' -- xdg-open "<https://guix.gnu.org>"
--8<---------------cut here---------------end--------------->8---

which will open Guix's website on the host side.

I've checked it works, the license (some files LGPL2+ other LGPL2.1+), linted, and styled. I adjusted the description from upstream slightly to indicate it is not just for Flatpak sandboxes.

Thanks!
John
[0001-gnu-Add-flatpak-xdg-utils.patch (text/x-patch, attachment)]

This bug report was last modified 2 years and 139 days ago.

Previous Next


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