summaryrefslogtreecommitdiff
path: root/scripts/xdg-email.in
diff options
context:
space:
mode:
authorPer Olofsson <pelle@pqz.se>2015-09-19 14:33:25 +0200
committerPer Olofsson <pelle@pqz.se>2015-09-19 14:33:45 +0200
commit2639b11234321acf50f0c6129ce7675192c7bb77 (patch)
tree7eeaa3ae07c58e78f37308f1d3dc1b9e8e05b8a0 /scripts/xdg-email.in
parent03577f987730bcbe0a9f25b1f7cb386c8c4ede97 (diff)
Try www-browser first when running without $DISPLAY.
If www-browser exists then it points to the preferred browser on Debian and derivatives, managed by the alternatives system.
Diffstat (limited to 'scripts/xdg-email.in')
-rw-r--r--scripts/xdg-email.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xdg-email.in b/scripts/xdg-email.in
index a45832f..52c1447 100644
--- a/scripts/xdg-email.in
+++ b/scripts/xdg-email.in
@@ -403,7 +403,7 @@ fi
# if BROWSER variable is not set, check some well known browsers instead
if [ x"$BROWSER" = x"" ]; then
- BROWSER=links2:elinks:links:lynx:w3m
+ BROWSER=www-browser:links2:elinks:links:lynx:w3m
if [ -n "$DISPLAY" ]; then
BROWSER=x-www-browser:firefox:seamonkey:mozilla:epiphany:konqueror:chromium-browser:google-chrome:$BROWSER
fi