Debian Codegraph @

debian/mime

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