aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/www-browser4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/www-browser b/bin/www-browser
index f34980a..28e4b1a 100755
--- a/bin/www-browser
+++ b/bin/www-browser
@@ -40,14 +40,12 @@ if [[ -z "$BROWSER" ]]; then
if [[ -n "$NEWBROWSER" ]]; then
BROWSER=`echo $NEWBROWSER | sed -e 's/BrowserApplication=//' -e 's/!//'`
fi
- # check for loop BrowserApplication=www-browser
- strip_browser_var
- [[ -z "$BROWSER" ]] && which kfmclient > /dev/null 2>&1 && BROWSER="kfmclient openProfile webbrowsing"
fi
strip_browser_var
[[ -z "$BROWSER" ]] && BROWSER=`which mozilla-firefox 2> /dev/null`
+ [[ -z "$BROWSER" ]] && [[ -n "$KDE_FULL_SESSION" ]] && which kfmclient > /dev/null 2>&1 && BROWSER="kfmclient openProfile webbrowsing"
[[ -z "$BROWSER" ]] && BROWSER=`which epiphany 2> /dev/null`
[[ -z "$BROWSER" ]] && BROWSER=`which galeon 2> /dev/null`
[[ -z "$BROWSER" ]] && BROWSER=`which mozilla 2> /dev/null`