From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mekeor Melire Subject: bug#26558: Opening URLs with xdg-open fails (eg. Gajim, Pumpa) Date: Wed, 19 Apr 2017 18:59:02 +0200 Message-ID: <87vaq0l4fd.fsf@gmail.com> References: <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]:59440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0sxc-0000dm-4h for bug-guix@gnu.org; Wed, 19 Apr 2017 13:00:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0sxX-0006ya-Rk for bug-guix@gnu.org; Wed, 19 Apr 2017 13:00:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59046) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d0sxX-0006yE-N7 for bug-guix@gnu.org; Wed, 19 Apr 2017 13:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d0sxX-0005bH-7j for bug-guix@gnu.org; Wed, 19 Apr 2017 13:00:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <871sspdywc.fsf@sturm.com.au> 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: Ben Sturmfels Cc: 26558@debbugs.gnu.org Ben Sturmfels 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