From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Sturmfels Subject: bug#26558: Opening URLs with xdg-open fails (eg. Gajim, Pumpa) Date: Wed, 19 Apr 2017 10:28:36 +1000 Message-ID: <871sspdywc.fsf@sturm.com.au> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0dVW-00014t-3U for bug-guix@gnu.org; Tue, 18 Apr 2017 20:30:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0dVS-0004pJ-T9 for bug-guix@gnu.org; Tue, 18 Apr 2017 20:30:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57139) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d0dVS-0004pE-PZ for bug-guix@gnu.org; Tue, 18 Apr 2017 20:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d0dVS-0007Sn-Jg for bug-guix@gnu.org; Tue, 18 Apr 2017 20:30:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0dUH-0000i1-65 for bug-guix@gnu.org; Tue, 18 Apr 2017 20:28:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0dUE-0004QB-2O for bug-guix@gnu.org; Tue, 18 Apr 2017 20:28:49 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:57463) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d0dUD-0004Pm-Nz for bug-guix@gnu.org; Tue, 18 Apr 2017 20:28:45 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 0F01F20AA8 for ; Tue, 18 Apr 2017 20:28:44 -0400 (EDT) Received: from unknown001f16152adf (ppp118-209-39-235.lns20.mel4.internode.on.net [118.209.39.235]) by mail.messagingengine.com (Postfix) with ESMTPA id 136E224373 for ; Tue, 18 Apr 2017 20:28:42 -0400 (EDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 26558@debbugs.gnu.org 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