From b78e16f99d1427435bd887800482061e5df53cdf Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Mon, 30 Apr 2012 16:14:35 +0200 Subject: be even smarter in the mailto handler :) --- shell/source/unix/misc/senddoc.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shell/source') diff --git a/shell/source/unix/misc/senddoc.sh b/shell/source/unix/misc/senddoc.sh index f3657e69f90c..fd87644d200f 100755 --- a/shell/source/unix/misc/senddoc.sh +++ b/shell/source/unix/misc/senddoc.sh @@ -404,7 +404,9 @@ case `basename "$MAILER" | sed 's/-.*$//'` in # do not recognize. Try to be smart, and send the mail anyway, if we # have the possibility to do so. - if [ -x /usr/bin/gnome-open ] ; then + if [ -n "$KDE_FULL_SESSION" -a -x /usr/bin/kde-open ] ; then + MAILER=/usr/bin/kde-open + elif [ -x /usr/bin/gnome-open ] ; then MAILER = /usr/bin/gnome-open elif [ -x /usr/bin/xdg-open ] ; then MAILER = /usr/bin/xdg-open -- cgit