Index: scripts/xdg-open.in =================================================================== RCS file: /cvs/portland/portland/xdg-utils/scripts/xdg-open.in,v retrieving revision 1.18 diff -u -r1.18 xdg-open.in --- scripts/xdg-open.in 24 Jan 2008 20:24:51 -0000 1.18 +++ scripts/xdg-open.in 3 Feb 2008 21:41:32 -0000 @@ -130,7 +130,10 @@ if [ x"$DE" = x"" ]; then # if BROWSER variable is not set, check some well known browsers instead if [ x"$BROWSER" = x"" ]; then - BROWSER=firefox:mozilla:netscape + BROWSER=links:lynx:w3m + if [ -n "$DISPLAY" ]; then + BROWSER=firefox:mozilla:netscape:$BROWSER + fi fi DE=generic fi