GNU bug report logs - #26558
Opening URLs with xdg-open fails (eg. Gajim, Pumpa)

Previous Next

Package: guix;

Reported by: Ben Sturmfels <ben <at> stumbles.id.au>

Date: Wed, 19 Apr 2017 00:30:02 UTC

Severity: normal

Done: Marius Bakke <mbakke <at> fastmail.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: Ben Sturmfels <ben <at> stumbles.id.au>
Subject: bug#26558: closed (Re: bug#26558: Opening URLs with xdg-open
 fails (eg. Gajim, Pumpa))
Date: Sun, 23 Apr 2017 23:01:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#26558: Opening URLs with xdg-open fails (eg. Gajim, Pumpa)

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

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

-- 
26558: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26558
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Marius Bakke <mbakke <at> fastmail.com>
To: Ben Sturmfels <ben <at> stumbles.id.au>, Arun Isaac <arunisaac <at> systemreboot.net>,
 26558-done <at> debbugs.gnu.org
Subject: Re: bug#26558: Opening URLs with xdg-open fails (eg. Gajim, Pumpa)
Date: Mon, 24 Apr 2017 01:00:28 +0200
[Message part 3 (text/plain, inline)]
Ben Sturmfels <ben <at> stumbles.id.au> writes:

> On 22/04/17 20:31, Marius Bakke wrote:
>
>> Ben: Can you confirm whether the latest xdg-utils work for you? It's in
>> 'master' now so you should get it after a `guix pull` and update.
>
> Thanks Marius, working beautifully now!

Yay, thanks for confirming! Closing this bug. :-)
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Ben Sturmfels <ben <at> stumbles.id.au>
To: bug-guix <at> gnu.org
Subject: Opening URLs with xdg-open fails (eg. Gajim, Pumpa)
Date: Wed, 19 Apr 2017 10:28:36 +1000
Hi Folks,

When I click an embedded URL within Gajim or Pumpa, I'm expecting a
browser window to pop up, but nothing happens and I get an error on the
command line:

  /home/ben/.guix-profile/bin/xdg-open: line 341: gnome-open: command
  not found

The same error shows up if you attempt try the URL with xdg-open
directly:

  $ xdg-open https://www.gnu.org/software/guix/
  /home/ben/.guix-profile/bin/xdg-open: line 341: gnome-open: command not
  found

As this message suggests, "gnome-open" is hard-coded into the "xdg-open"
script on line 341.

In Trisquel 7 and Debian Unstable the "gnome-open" executable is
included in the "libgnome2-bin" package, which I gather is deprecated.
Some quick searching around suggests that "gvfs-open" might be the the
appropriate replacement for "gnome-open":

  https://askubuntu.com/questions/101965/what-is-the-replacement-for-gnome-open-in-gnome
  https://wiki.gnome.org/Initiatives/GnomeGoals/RemoveGnomeOpenGnomeHelp?highlight=%28gnome-open%29
  https://wiki.gnome.org/Attic/LibgnomeMustDie?highlight=%28gnome-open%29

I assume that means either:

  a. packaging the deprecated gnome-open,
  b. modifying xdg-open to use gvfs-open instead of gnome-open, or
  c. in Gajim's case, possibly using "gtk_show_uri"?

Cheers,
Ben



This bug report was last modified 8 years and 86 days ago.

Previous Next


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