diff options
Diffstat (limited to 'shell/source/unix/misc/kde-open-url.sh')
-rwxr-xr-x | shell/source/unix/misc/kde-open-url.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/shell/source/unix/misc/kde-open-url.sh b/shell/source/unix/misc/kde-open-url.sh index fa05bdecbda4..9b0285a0c629 100755 --- a/shell/source/unix/misc/kde-open-url.sh +++ b/shell/source/unix/misc/kde-open-url.sh @@ -2,9 +2,13 @@ # special handling for mailto: uris if echo $1 | grep '^mailto:' > /dev/null; then - kmailservice "$1" & + if which kde-open; then + kde-open "$1" & + else + mailservice "$1" & + fi else - kfmclient openURL "$1" & + sensible-browser "$1" & fi exit 0 |