# priority=1 the same as caca-utils has for cacaview. # This is below the web browsers like iceape at priority=2. # # -driver X11 makes its own native window and doesn't need a tty. # Each X11 entry is before the -driver curses entry so that the native # X is preferred when possible. # # ENHANCE-ME: Can one of the drivers do a "copiousoutput" style # ascii-only "cat" to stdout (for priority=0)? "-driver stdout" seems # interactive still, which is not wanted for copiousoutput. # # ENHANCE-ME: "asciiview" and the numerous formats it can show by # conversion could be included here. But would need a "test" in each # that the necessary imagemagick or netpbm is available. Perhaps an # option on asciiview could ask it nicely whether format xyz is # possible. image/x-portable-anymap; /usr/bin/aview -driver X11 %s; description=PNM Image; test=test -n "$DISPLAY"; priority=1 image/x-portable-anymap; /usr/bin/aview -driver curses %s; description=PNM Image; needsterminal; priority=1 image/x-portable-bitmap; /usr/bin/aview -driver X11 %s; description=PBM Image; test=test -n "$DISPLAY"; priority=1 image/x-portable-bitmap; /usr/bin/aview -driver curses %s; description=PBM Image; needsterminal; priority=1 image/x-portable-graymap; /usr/bin/aview -driver X11 %s; description=PGM Image; test=test -n "$DISPLAY"; priority=1 image/x-portable-graymap; /usr/bin/aview -driver curses %s; description=PGM Image; needsterminal; priority=1 image/x-portable-pixmap; /usr/bin/aview -driver X11 %s; description=PPM Image; test=test -n "$DISPLAY"; priority=1 image/x-portable-pixmap; /usr/bin/aview -driver curses %s; description=PPM Image; needsterminal; priority=1