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: Mekeor Melire <mekeor.melire <at> gmail.com>
To: Ben Sturmfels <ben <at> stumbles.id.au>
Cc: 26558 <at> debbugs.gnu.org
Subject: bug#26558: Opening URLs with xdg-open fails (eg. Gajim, Pumpa)
Date: Wed, 19 Apr 2017 18:59:02 +0200
Ben Sturmfels <ben <at> stumbles.id.au> writes:

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

I don't think so because this is what I get when running xdg-open:

    # this does not work:
    $ xdg-open http://gnu.org
    /home/mekeor/.guix-profile/bin/xdg-open: line 369: firefox: command not found
    /home/mekeor/.guix-profile/bin/xdg-open: line 369: mozilla: command not found
    /home/mekeor/.guix-profile/bin/xdg-open: line 369: netscape: command not found
    xdg-open: no method available for opening 'http://gnu.org'

    # this works just fine:
    $ BROWSER="icecat" xdg-open http://gnu.org

As you might have guessed, I do not use GNOME.

Did you try to set BROWSER environment variable?

-- 
mekeor ~ EDD3 DFFA 76F6 11C0 145F 9A99 AC85 BAD8 A2F8 C868




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.