summaryrefslogtreecommitdiff
path: root/shell/source/unix/misc/gnome-open-url.sh
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/unix/misc/gnome-open-url.sh')
-rw-r--r--shell/source/unix/misc/gnome-open-url.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/unix/misc/gnome-open-url.sh b/shell/source/unix/misc/gnome-open-url.sh
index 1a52fc763783..ab730d169a49 100644
--- a/shell/source/unix/misc/gnome-open-url.sh
+++ b/shell/source/unix/misc/gnome-open-url.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# use gnome-open utility coming with libgnome if available
-gnome-open "$1" 2>/dev/null || "$0.bin" $1
+# use xdg-open or gnome-open if available
+xdg-open "$1" 2>/dev/null || gnome-open "$1" 2>/dev/null || "$0.bin" $1
exit 0