gnome-open: command not found

Hi,

Running on a fresh install ( + updates ) of 12.1 X86_64 with Gnome 3 I found out that xdg-open no longer works

robert@rmuntean-w7:~> xdg-open http://www.google.com
/usr/bin/xdg-open: line 342: gnome-open: command not found

How can I get xdg-open to work?

Thanks,

Robert

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

  • From my box:

ab@mybox:~/Desktop> rpm -qf which gnome-open
libgnome-2.32.1-3.1.2.x86_64

Do you have libgnome installed? I’m using a KDE-based system and this
is where that file (gnome-open) was found (I have a lot of Gnome stuff
installed as well; get the best of all worlds).

Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPTirZAAoJEF+XTK08PnB5O4oQAMoj4BC5tqhBwMkdjXgFZ6oh
l0ZC/np41ek9Mw/S/WVB1Oso5ucHda+ZNfp0AgxBvUSqvcn+//+8jsDSxAGp1YBH
ePnGrTDZc2JeHT3GNhHoHYs7TIGyuVsutxIkJoE94xARpTQ2tJCDbPn5e0vgcY37
32PuAgSHVmk4DIc+tZ7L45OJERtkWpR4kaLINxDh4aIp6iagS3NtS+p99wh1FKEt
0x9vEKzfS56TOcmCHq8y0xSHyTF4gqDssicdUmnRg3tJeDubrcB/P+g7pmaboOdd
oWwDNbml7wfaNLI17yZQAANqfKabWCx/2XNcjfLcR0ktXaFJLzrFE7hzMa2o3Y9q
W7ppGe2PIGP6MeX/9uR6/gfonenFRWFCJSV9IR0Tepj+ocMfVBMkEuHOyWKFNB0X
EU0dv3mTQfVhbktLJq5iTacPACitRUlNngyxdKxl2ndZFSczpvQg6mbwMqFscbOA
mY2AF8oS9yOBAXUCj42cg/UV71ZRhvP1sxBkYF6RO+29M+++/iwsba1tEKscct/b
K+Dw8X+hX/gd/GHenmhwW1D8Y2nKHznuHCAXIZaESkJNSYz02/O19d5vz/I1fSHR
l7iwg9KwibHlrbEsQm8j+zxiZT5cLJ1saxArh/woPn2TorLMsDq7RoFoP3RrcXPz
BTTtHTtQYQpK/xUDedOD
=GK2Z
-----END PGP SIGNATURE-----

That fixed it, thanks! Strangely enough it was not present on a stock Gnome 3 install.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Personally this sounds like a bug in the xdg-utils package since it is
depending on a file from another package that is not necessarily there.
Modifying the xdg-utils SPEC file to require libgnome would fix this.
Bug# 749612 in Novell’s BugZilla database submitted (you’re welcome to
add yourself to the CC list if you’d like). It seems odd that something
which appears to be desktop-independent would depend on gnome-open, but
I have never used this command afaik so maybe that makes sense in a way
I do not understand.

Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPTjYOAAoJEF+XTK08PnB5IO0P/0DCYKLCnMMMjGdVcub2COSa
jfFLbJWJvrXH71Q5+xt26Z00qhYpoOEOdcHt+Cz3Lqv3iSpylhIcIpf0WiR9wOR+
UiNGcNOFiVgDxDEpm1nzHDBRxmOrKe4MdgTDdwQ3D289xiHG9tUFPPlp9Kc1CKHx
chfzDlr166QnweLNf3oOGy/KOnwd2SRnNVZi7CB19a6nbkHNR59CnecfCJSraH7B
zF6h90qFjTkuMdqWBtNsafcBozWdhig6qrY0ZKHlOy+9ZpEVayVxV0e8siz7Eu6H
dlYftINAw+oZ4Z9OGjzpXQ8Bv7esvIf3Vab4XN4QM8UxQmqKvFrT8QwDPb3TPZox
MhMKXLD0IqIXsg7OWwdYAOBk4Hl/avDGrX2HdCM0hjz2SL3NbJo3YSH82oSgdNm+
y0XDydZYmr0m8LIUXE+MPJ5I5huwr9RIoWnmzptLhfrVTwl3iKuRiENUMnLO1aTq
zXJNZBXMwXt+30KUQ/tKGogD9OyND4Kq5jGaOv48uEZBxsmntWHVeG2UnKlu+AqK
gXRnviLwWJbDJrnd8IDBkVOjdMAwrHxjYTEKDYWEzUMZ9ebGOYOhtK9Gd0z2oQ0Y
bwamVy4+ILI2+uTrqYoXRW5mL82SzZ4Kd7v2POL/L7rOHzTZdhjw+53JAGZa28Wm
xZfR5WOurXV0ickLehtS
=n3pK
-----END PGP SIGNATURE-----

OK, I CC’ed myself to the bug report.

A simple workaround is to run as root:

# sed -i 's/gnome-open/gvfs-open/' /usr/bin/xdg-open