text/html; lynx -dump -force_html  %s; needsterminal; copiousoutput
application/postscript; gv %s; test=test -n "$DISPLAY"
application/pdf; acroread %s; test=test -n "$DISPLAY"
image/jpeg; xv  %s
image/*; xv  %s