unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Ben Sturmfels <ben@stumbles.id.au>
To: 26558@debbugs.gnu.org
Subject: bug#26558: Opening URLs with xdg-open fails (eg. Gajim, Pumpa)
Date: Wed, 19 Apr 2017 10:28:36 +1000	[thread overview]
Message-ID: <871sspdywc.fsf@sturm.com.au> (raw)

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

             reply	other threads:[~2017-04-19  0:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-19  0:28 Ben Sturmfels [this message]
2017-04-19 16:59 ` bug#26558: Opening URLs with xdg-open fails (eg. Gajim, Pumpa) Mekeor Melire
2017-04-19 19:05   ` Arun Isaac
2017-04-19 19:22     ` Marius Bakke
2017-04-20  5:07       ` Maxim Cournoyer
2017-04-22 10:16         ` Marius Bakke
2017-04-20  5:16       ` Arun Isaac
2017-04-22 10:31         ` Marius Bakke
2017-04-23 12:14           ` Ben Sturmfels
2017-04-23 23:00             ` Marius Bakke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871sspdywc.fsf@sturm.com.au \
    --to=ben@stumbles.id.au \
    --cc=26558@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).