--- htmlview 2006-10-27 18:16:04.000000000 +0200 +++ htmlview.new 2006-10-27 18:17:45.000000000 +0200 @@ -1,5 +1,5 @@ #!/bin/bash -if [ "${DESKTOP_SESSION}" = "kde" ]; then +if [ "${KDE_FULL_SESSION}" = "true" ]; then exec kfmclient exec "$@" elif [ -x /opt/gnome/bin/gnome-open ]; then exec /opt/gnome/bin/gnome-open $@ @@ -7,4 +7,6 @@ exec /opt/mozilla/bin/firefox $@ elif [ -x /opt/mozilla/bin/mozilla ]; then exec /opt/mozilla/bin/mozilla $@ +elif [ -x /usr/bin/opera ]; then + exec /usr/bin/opera $@ fi