Hi az!

On Tue, 22 Nov 2005 20:32:50 +1000, Alexander Zangerl writes:
>>This is MPEG Audio
>>It can be displayed with
>>"nametemplate=/tmp/waldner/1.0=1=2.20424.exmh.mp3".

>*sigh* not here :-(

I seem to be good at finding unreproducible bugs in exmh, eh?

>i tried your mailcap fragment verbatim in both 
>places (/etc/mailcap or .mailcap) and it didn't cause any problems 

I'm attaching the whole /etc/mailcap, in case that helps - maybe the 
 order of entries is also relevant? FWIW, it happens _reproducible_ 
 with audio/mpeg - I'm attaching a msg/rfc822 that triggers this (don't 
 actually listen to the file - it's straight out of /dev/urandom ;) ).

The relevant exmh-log is
12:35:52 (5.028) Msg_Pick line=290
12:35:52 (0.001) Msg_Change id=799
12:35:52 (0.014) {cur: 798 => 799}
12:35:52 (0.001) Writing /home/waldner/Mail/inbox/.mh_sequences
12:35:52 (0.012) Ftoc_ShowSequence cur msgids {798 799}
12:35:52 (0.014) {file delete /tmp/waldner/0.0=1.2962.exmh 
/tmp/waldner/0.0=1=1.2962.exmh /tmp/waldner/0.0=1=2.2962.exmh 
/tmp/waldner/1.0=1=2.2962.exmh}
12:35:52 (0.023) {Mime_ShowMultipart 0=1 multipart/mixed}
12:35:52 (0.066) exec {sh -c test "$(echo 'us-ascii' | tr "[A-Z]" "[a-z]")" = 
iso-8859-1 -a "$DISPLAY" != ""}
12:35:52 (0.016) Msg_TextHighlight 18.0 22.0
12:35:52 (0.010) 
12:35:52 (0.224) MimeDecode /tmp/waldner/0.0=1=2.2962.exmh 
/tmp/waldner/1.0=1=2.2962.exmh base64 0
12:35:52 (0.000) exec {mimencode -u -b /tmp/waldner/0.0=1=2.2962.exmh >@ file8}
12:35:52 (0.012) test.mp3
12:35:53 (0.230) 
12:35:53 (0.078) Widget_TextPad h=54 last=55.0 top=11.0
12:35:53 (0.001) test mp3
12:35:53 (0.102) Seq_Del inbox unseen 799 ...
12:35:53 (0.087) {URI_ScanMsg 67.0}
12:35:53 (0.013) Seq_Del inbox unseen 799 ...
12:35:53 (0.001) test mp3
12:35:53 (0.113) Msg_Change {1016295 microseconds per iteration}

What's irritating is that exmh names the file as .mpg, when both the 
 filename and nametemplate end in .mp3.

>are we talking about the same file?
>1dead87da16d0569bf04f463e05c0f27  /usr/lib/exmh/mailcap.tcl

Yep, 1dead87da16d0569bf04f463e05c0f27  /usr/lib/exmh/mailcap.tcl

>no .exmh/lib lurking behind?

It's there, but only contains two private functions that have nothing 
 to do with mailcap.

>which tcl/tk does your /etc/alternatives/wish 
>point to? i've got tk8.3 and things work fine...

/etc/alternatives/wish -> /usr/bin/wish8.3, which is from tk8.3.

cheers+tia,
&rw
###############################################################################
#
#  MIME types and programs that process those types
#
#  Much of this file is generated automatically by the program "update-mime".
#  Please see the "update-mime" man page for more information.
#
###############################################################################


###############################################################################
#
#  User section follows:  Any entries included in this section will take
#  precedence over those created by "update-mime".  DO NOT CHANGE the
#  "User Section Begins" and "User Section Ends" lines, or anything outside
#  of this section!
#

# ----- User Section Begins ----- #
# -----  User Section Ends  ----- #

###############################################################################

application/pdf; /usr/bin/acroread '%s'; test=test -n "$DISPLAY"; 
description=Portable Document Format; nametemplate=%s.pdf
application/pdf; false; x-mozilla-flags=plugin:nppdf.so
text/plain; less '%s'; needsterminal
application/vnd.sun.xml.calc; openoffice '%s'; edit=openoffice '%s'; test=test 
"$DISPLAY" != "" ; description="OpenOffice.org Spreadsheet"; nametemplate=%.sxc
application/vnd.sun.xml.calc.template; openoffice '%s'; edit=openoffice '%s'; 
test=test "$DISPLAY" != "" ; description="OpenOffice.org Spreadsheet Template"; 
nametemplate=%.stc
application/vnd.sun.xml.draw; openoffice '%s'; edit=openoffice '%s'; test=test 
"$DISPLAY" != "" ; description="OpenOffice.org Drawing"; nametemplate=%.sxd
application/vnd.sun.xml.draw.template; openoffice '%s'; edit=openoffice '%s'; 
test=test "$DISPLAY" != "" ; description="OpenOffice.org Drawing Template"; 
nametemplate=%.std
application/vnd.sun.xml.impress; openoffice '%s'; edit=openoffice '%s'; 
test=test "$DISPLAY" != "" ; description="OpenOffice.org Presentation"; 
nametemplate=%.sxi
application/vnd.sun.xml.impress.template; openoffice '%s'; edit=openoffice 
'%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Presentation 
Template"; nametemplate=%.sti
application/vnd.sun.xml.writer; openoffice '%s'; edit=openoffice '%s'; 
test=test "$DISPLAY" != "" ; description="OpenOffice.org Text Document"; 
nametemplate=%.sxw
application/vnd.sun.xml.writer.global; openoffice '%s'; edit=openoffice '%s'; 
test=test "$DISPLAY" != "" ; description="OpenOffice.org Master Document"; 
nametemplate=%.sxg
application/vnd.sun.xml.writer.math; openoffice '%s'; edit=openoffice '%s'; 
test=test "$DISPLAY" != "" ; description="OpenOffice.org Maths Document"
application/vnd.sun.xml.writer.template; openoffice '%s'; edit=openoffice '%s'; 
test=test "$DISPLAY" != "" ; description="OpenOffice.org Text Document 
Template"; nametemplate=%.stw
application/pdf; /usr/bin/gpdf '%s'; test=test "$DISPLAY" != ""; 
description=Portable Document Format; nametemplate=%s.pdf
application/x-kword; kword '%s';test=test "$DISPLAY" != ""
video/mpeg; /usr/bin/gtv '%s'; description="MPEG video files"; test=test -n 
"$DISPLAY"
video/mpeg; /usr/bin/plaympeg '%s'; description="MPEG video files"; test=test 
-n "$DISPLAY"
video/mpeg; vlc '%s'; description="MPEG Video"; test=test -n "$DISPLAY"
video/x-mpeg; vlc '%s'; description="MPEG Video"; test=test -n "$DISPLAY"
video/mpeg-system; vlc '%s'; description="MPEG Video"; test=test -n "$DISPLAY"
video/x-mpeg-system; vlc '%s'; description="MPEG Video"; test=test -n "$DISPLAY"
audio/x-wav; nametemplate=%s.wav; vlc '%s'; description="WAV Audio"; test=test 
-n "$DISPLAY"
video/mpeg4; vlc '%s'; description="MPEG-4 Video"; test=test -n "$DISPLAY"
audio/mpeg; nametemplate=%s.mpg; vlc '%s'; description="MPEG Audio"; test=test 
-n "$DISPLAY"
audio/mpegurl; nametemplate=%s.m3u; vlc '%s'; description="MPEG Audio URL"; 
test=test -n "$DISPLAY"
audio/x-mp3; nametemplate=%s.mp3; vlc '%s'; description="MPEG Audio"; test=test 
-n "$DISPLAY"
audio/mpeg4; vlc '%s'; description="MPEG-4 Audio"; test=test -n "$DISPLAY"
application/mpeg4-iod; vlc '%s'; description="MPEG-4 Video"; test=test -n 
"$DISPLAY"
application/mpeg4-muxcodetable; vlc '%s'; description="MPEG-4 Video"; test=test 
-n "$DISPLAY"
video/mpeg; xine '%s'; description="MPEG Video"; test=test -n "$DISPLAY"
application/pdf; /usr/bin/xpdf '%s'; test=test "$DISPLAY" != ""; 
description=Portable Document Format; nametemplate=%s.pdf
application/ogg; audacity '%s'; edit=audacity '%s'; test=test "$DISPLAY" != ""
audio/basic; audacity '%s'; edit=audacity '%s'; test=test "$DISPLAY" != ""
audio/mpeg; audacity '%s'; edit=audacity '%s'; test=test "$DISPLAY" != ""
audio/x-aiff; audacity '%s'; edit=audacity '%s'; test=test "$DISPLAY" != ""
audio/x-mp3; audacity '%s'; edit=audacity '%s'; test=test "$DISPLAY" != ""
audio/x-wav; audacity '%s'; edit=audacity '%s'; test=test "$DISPLAY" != ""
video/x-msvideo; /usr/bin/aviplay '%s'; description="AVI Video Format"; 
test=test "$DISPLAY" != ""
video/x-mplayer2; /usr/bin/aviplay '%s'; description="AVI Video Format"; 
test=test "$DISPLAY" != ""
video/x-ms-asf; /usr/bin/aviplay '%s'; description="AVI Video Format"; 
test=test "$DISPLAY" != ""
video/x-ms-wmv; /usr/bin/aviplay '%s'; description="AVI Video Format"; 
test=test "$DISPLAY" != ""
video/x-ms-wma; /usr/bin/aviplay '%s'; description="AVI Video Format"; 
test=test "$DISPLAY" != ""
audio/mpeg;     beep-media-player '%s'; nametemplate=%s.mp3; test=test 
"$DISPLAY" != "" 
audio/mpegurl;  beep-media-player '%s'; nametemplate=%s.m3u; test=test 
"$DISPLAY" != "" 
audio/x-scpls;  beep-media-player '%s'; nametemplate=%s.pls; test=test 
"$DISPLAY" != "" 
audio/x-wav;    beep-media-player '%s'; nametemplate=%s.wav; test=test 
"$DISPLAY" != "" 
application/ogg; beep-media-player '%s'; nametemplate=%s.ogg; test=test 
"$DISPLAY" != ""
audio/x-mpegurl; beep-media-player '%s'; nametemplate=%s.m3u; test=test 
"$DISPLAY" != ""
application/x-bittorrent; /usr/bin/btdownloadgui --responsefile '%s'; test=test 
-n "$DISPLAY"
application/x-bittorrent; /usr/bin/btdownloadcurses --responsefile '%s'; 
test=test -z "$DISPLAY"; needsterminal
audio/x-wav; bplay '%s'; description="WAV audio format"
audio/x-voc; bplay '%s'; description="VOC audio format"
application/x-dia-diagram; dia '%s'; description="DIA diagram"; test=test -n 
"$DISPLAY"; nametemplate=%s.dia
application/x-arj; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e 
/usr/bin/arj
application/x-bzip; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY"
application/x-bzip-compressed-tar; /usr/bin/file-roller '%s'; test=test -n 
"$DISPLAY" -a -e /usr/bin/bzip2
application/x-compress; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY"
application/x-compressed-tar; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY"
application/x-gzip; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY"
application/x-java-archive; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY"
application/x-lha; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e 
/usr/bin/lha
application/x-lzop; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e 
/bin/lzop
application/x-lzop-compressed-tar; /usr/bin/file-roller '%s'; test=test -n 
"$DISPLAY" -a -e /bin/lzop
application/x-rar; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e 
/usr/bin/unrar -o -e /usr/bin/rar
application/x-rar-compressed; /usr/bin/file-roller '%s'; test=test -n 
"$DISPLAY" -a -e /usr/bin/unrar -o -e /usr/bin/rar
application/x-stuffit; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY"
application/x-tar; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY"
application/zip; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e 
/usr/bin/unzip
application/x-zoo; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e 
/usr/bin/zoo
application/ghostview; gnome-gv '%s'; description="postscript document"; 
test=test "$DISPLAY" != ""
application/postscript; gnome-gv '%s'; description="postscript document"; 
test=test "$DISPLAY" != ""
application/x-gnumeric; gnumeric '%s'; edit=gnumeric '%s'; compose=gnumeric 
'%s'; description="Gnumeric spreadsheet"; test=test -n "$DISPLAY"; 
nametemplate=%s.gnumeric
text/comma-separated-values; gnumeric '%s'; edit=gnumeric '%s'; 
description="Comma Separated Values"; test=test -n "$DISPLAY"; 
nametemplate=%s.csv
application/vnd.ms-excel; gnumeric '%s'; edit=gnumeric '%s'; description="MS 
Excel spreadsheet"; test=test -n "$DISPLAY"; nametemplate=%s.xls
application/x-applix; gnumeric '%s'; edit=gnumeric '%s'; 
description="Applixware Spreadsheets file"; test=test -n "$DISPLAY"; 
nametemplate=%s.as
application/x-troff-man; /usr/bin/nroff -mandoc -Tlatin1; copiousoutput; 
print=/usr/bin/nroff -mandoc -Tlatin1 | print text/plain:-
application/postscript; /usr/bin/gv '%s'; test=test -n "$DISPLAY"; 
description=postscript
application/ghostview; /usr/bin/gv '%s'; test=test -n "$DISPLAY"
application/pdf; /usr/bin/gv '%s'; test=test -n "$DISPLAY"
image/avs; display '%s'; test=test -n "$DISPLAY"
image/bie; display '%s'; test=test -n "$DISPLAY"
image/x-ms-bmp; display '%s'; test=test -n "$DISPLAY"
image/cmyk; display '%s'; test=test -n "$DISPLAY"
image/dcx; display '%s'; test=test -n "$DISPLAY"
image/eps; display '%s'; test=test -n "$DISPLAY"
image/fax; display '%s'; test=test -n "$DISPLAY"
image/fits; display '%s'; test=test -n "$DISPLAY"
image/gif; display '%s'; test=test -n "$DISPLAY"
image/gray; display '%s'; test=test -n "$DISPLAY"
image/gradation; display '%s'; test=test -n "$DISPLAY"
image/hdf; display '%s'; test=test -n "$DISPLAY"
image/jpeg; display '%s'; test=test -n "$DISPLAY"
image/pjpeg; display '%s'; test=test -n "$DISPLAY"
image/map; display '%s'; test=test -n "$DISPLAY"
image/miff; display '%s'; test=test -n "$DISPLAY"
image/mono; display '%s'; test=test -n "$DISPLAY"
image/mtv; display '%s'; test=test -n "$DISPLAY"
image/x-portable-bitmap; display '%s'; test=test -n "$DISPLAY"
image/pcd; display '%s'; test=test -n "$DISPLAY"
image/pcx; display '%s'; test=test -n "$DISPLAY"
image/pdf; display '%s'; test=test -n "$DISPLAY"
image/x-portable-graymap; display '%s'; test=test -n "$DISPLAY"
image/pict; display '%s'; test=test -n "$DISPLAY"
image/png; display '%s'; test=test -n "$DISPLAY"
image/x-portable-anymap; display '%s'; test=test -n "$DISPLAY"
image/x-portable-pixmap; display '%s'; test=test -n "$DISPLAY"
image/ps; display '%s'; test=test -n "$DISPLAY"
image/rad; display '%s'; test=test -n "$DISPLAY"
image/x-rgb; display '%s'; test=test -n "$DISPLAY"
image/rgba; display '%s'; test=test -n "$DISPLAY"
image/rla; display '%s'; test=test -n "$DISPLAY"
image/rle; display '%s'; test=test -n "$DISPLAY"
image/sgi; display '%s'; test=test -n "$DISPLAY"
image/sun-raster; display '%s'; test=test -n "$DISPLAY"
image/targa; display '%s'; test=test -n "$DISPLAY"
image/tiff; display '%s'; test=test -n "$DISPLAY"
image/uyvu; display '%s'; test=test -n "$DISPLAY"
image/vid; display '%s'; test=test -n "$DISPLAY"
image/viff; display '%s'; test=test -n "$DISPLAY"
image/x-xbitmap; display '%s'; test=test -n "$DISPLAY"
image/x-xpixmap; display '%s'; test=test -n "$DISPLAY"
image/x-xwindowdump; display '%s'; test=test -n "$DISPLAY"
image/yuv; display '%s'; test=test -n "$DISPLAY"
image/svg+xml; inkscape '%s'; description="Scalable Vector Graphics"; test=test 
"$DISPLAY" != ""
image/svg; inkscape '%s'; description="Scalable Vector Graphics"; test=test 
"$DISPLAY" != ""
text/plain; shownonascii iso-8859-1 '%s'; description="Plain ASCII Text"; 
test=test "$(echo %{charset} | tr "[A-Z]" "[a-z]")" = iso-8859-1 -a "$DISPLAY" 
!= ""
text/richtext; shownonascii iso-8859-1 -e richtext -p '%s'; 
description="Richtext"; copiousoutput; test=test "$(echo %{charset} | tr 
"[A-Z]" "[a-z]")" = iso-8859-1 -a "$DISPLAY" != ""
text/enriched; shownonascii iso-8859-1 -e richtext -e -p '%s'; 
description="Enriched Text"; copiousoutput; test=test "$(echo %{charset} | tr 
"[A-Z]" "[a-z]")" = iso-8859-1 -a "$DISPLAY" != ""
message/partial; showpartial '%s' %{id} %{number} %{total}; description="An 
incomplete message"
message/external-body; showexternal '%s' %{access-type} %{name} %{site} 
%{directory} %{mode} %{server}; needsterminal; description="A reference to data 
stored in an external location"; composetyped="extcompose '%s"'
text/html; /usr/bin/mozilla '%s'; description=HTML Text; test=test -n 
"$DISPLAY";  nametemplate=%s.html
text/xml; /usr/bin/mozilla '%s'; description=XML Text; test=test -n "$DISPLAY"; 
 nametemplate=%s.xml
text/html; /usr/bin/mozilla-firefox '%s'; description=HTML Text; test=test -n 
"$DISPLAY";  nametemplate=%s.html
text/xml; /usr/bin/mozilla-firefox '%s'; description=XML Text; test=test -n 
"$DISPLAY";  nametemplate=%s.xml
audio/mpeg; mpg123 -q '%s'
application/x-ogg; /usr/bin/gmplayer '%s'; description="OggVorbis Audio"
application/ogg; /usr/bin/gmplayer '%s'; description="OggVorbis Audio"
audio/mpeg; /usr/bin/gmplayer '%s'; description="MPEG Audio Format"
audio/x-mpegurl; /usr/bin/gmplayer '%s'; description="Icecast Playlists"
audio/x-ms-wax; /usr/bin/gmplayer '%s'; description="Audio Format"
audio/x-ms-wma; /usr/bin/gmplayer '%s'; description="Audio Format"
audio/x-pls; /usr/bin/gmplayer '%s'; description="MP3 ShoutCast/IceCast 
Playlist"
audio/x-scpls; /usr/bin/gmplayer '%s'; description="Shoutcast Playlists"
audio/x-wav; /usr/bin/gmplayer '%s'; description="Waveform Microsoft Wave/RIFF"
video/mpeg; /usr/bin/gmplayer '%s'; description="MPEG Video Format"; test=test 
-n "$DISPLAY"
video/quicktime; /usr/bin/gmplayer '%s'; description="Apple Quicktime Video"; 
test=test -n "$DISPLAY"
video/x-mpeg2; /usr/bin/gmplayer '%s'; description="MPEG Video"; test=test -n 
"$DISPLAY"
video/x-mpeg; /usr/bin/gmplayer '%s'; description="MPEG 2 Video"; test=test -n 
"$DISPLAY"
video/x-ms-afs; /usr/bin/gmplayer '%s'; description="Audio Video Interleave - 
Microsoft"; test=test -n "$DISPLAY"
video/x-ms-asf; /usr/bin/gmplayer '%s'; description="MS ASF video"; test=test 
-n "$DISPLAY"
video/x-msvideo; /usr/bin/gmplayer '%s'; description="Audio Video Interleave - 
Microsoft"; test=test -n "$DISPLAY"
video/x-ms-wma; /usr/bin/gmplayer '%s'; description="Audio Video Interleave - 
Microsoft"; test=test -n "$DISPLAY"
video/x-ms-wmv; /usr/bin/gmplayer '%s'; description="Audio Video Interleave - 
Microsoft"; test=test -n "$DISPLAY"
video/x-ms-wmx; /usr/bin/gmplayer '%s'; description="Audio Video Interleave - 
Microsoft"; test=test -n "$DISPLAY"
video/x-ms-wvx; /usr/bin/gmplayer '%s'; description="Audio Video Interleave - 
Microsoft"; test=test -n "$DISPLAY"
application/x-staroffice; openoffice '%s'; edit=openoffice '%s'; test=test 
"$DISPLAY" != "" ; description="StarOffice 5.0"
application/vnd.stardivision.calc; openoffice '%s';edit=openoffice 
'%s';test=test "$DISPLAY" != "" ;description="StarCalc 5.0"; nametemplate=%.sdc
application/vnd.stardivision.chart; openoffice '%s'; edit=openoffice '%s'; 
test=test "$DISPLAY" != "" ; description="StarChart 5.0"; nametemplate=%.sds
application/vnd.stardivision.draw; openoffice '%s'; edit=openoffice '%s'; 
test=test "$DISPLAY" != "" ; description="StarDraw 5.0"; nametemplate=%.sda
application/vnd.stardivision.impress; openoffice '%s'; edit=openoffice '%s'; 
test=test "$DISPLAY" != "" ; description="StarImpress 5.0"; nametemplate=%.sdd
application/vnd.stardivision.math; openoffice '%s'; edit=openoffice '%s'; 
test=test "$DISPLAY" != "" ; description="StarMath 5.0"; nametemplate=%.sdf
application/vnd.stardivision.writer-global; openoffice '%s'; edit=openoffice 
'%s'; test=test "$DISPLAY" != "" ; description="StarWriter 5.0 Master 
Document"; nametemplate=%.sgl
application/vnd.stardivision.writer; openoffice '%s'; edit=openoffice '%s'; 
test=test "$DISPLAY" != "" ; description="StarWriter 5.0"; nametemplate=%.sdw
audio/midi; xplaymidi `cat /etc/playmidi/playmidi.conf` '%s'; test=test -n 
"$DISPLAY"; description=MIDI audio file
audio/midi; playmidi `cat /etc/playmidi/playmidi.conf` '%s'; description=MIDI 
audio file
application/ogg; realplayer '%s'; test=test "$DISPLAY" != ""
application/sdp; realplayer '%s'; test=test "$DISPLAY" != ""
application/vnd.rn-realmedia; realplayer '%s'; test=test "$DISPLAY" != ""
application/vnd.rn-realmedia-secure; realplayer '%s'; test=test "$DISPLAY" != ""
application/vnd.rn-realmedia-vbr; realplayer '%s'; test=test "$DISPLAY" != ""
application/x-smil; realplayer '%s'; test=test "$DISPLAY" != ""
application/x-streamingmedia; realplayer '%s'; test=test "$DISPLAY" != ""
audio/mpeg; realplayer '%s'; test=test "$DISPLAY" != ""
audio/vnd.rn-realaudio; realplayer '%s'; test=test "$DISPLAY" != ""
audio/x-aac; realplayer '%s'; test=test "$DISPLAY" != ""
audio/x-aiff; realplayer '%s'; test=test "$DISPLAY" != ""
audio/x-m4a; realplayer '%s'; test=test "$DISPLAY" != ""
audio/x-mpegurl; realplayer '%s'; test=test "$DISPLAY" != ""
audio/x-pn-realaudio; realplayer '%s'; test=test "$DISPLAY" != ""
audio/x-scpls; realplayer '%s'; test=test "$DISPLAY" != ""
audio/x-wav; realplayer '%s'; test=test "$DISPLAY" != ""
text/vnd.rn-realtext; realplayer '%s'; test=test "$DISPLAY" != ""
video/3gpp; realplayer '%s'; test=test "$DISPLAY" != ""
video/vnd.rn-realvideo; realplayer '%s'; test=test "$DISPLAY" != ""
video/x-3gpp2; realplayer '%s'; test=test "$DISPLAY" != ""
application/x-ogg; rhythmbox '%s'; description="Ogg Vorbis audio"; test=test -n 
"$DISPLAY"; nametemplate=%s.ogg
application/ogg; rhythmbox '%s'; description="Ogg Media"; test=test -n 
"$DISPLAY"
audio/x-mp3; rhythmbox '%s'; description="MP3 audio"; test=test -n "$DISPLAY"; 
nametemplate=%s.mp3
audio/x-scpls; rhythmbox '%s'; description="MP3 ShoutCast playlist"; test=test 
-n "$DISPLAY"; nametemplate=%s.pls
audio/x-mpeg; rhythmbox '%s'; description="MP3 audio"; test=test -n "$DISPLAY"
audio/mpeg; rhythmbox '%s'; description="MP3 audio"; test=test -n "$DISPLAY"
audio/x-mpegurl; rhythmbox '%s'; description="Playlist"; test=test -n 
"$DISPLAY"; nametemplate=%s.m3u
application/x-flac; rhythmbox '%s'; description="FLAC audio"; test=test -n 
"$DISPLAY"; nametemplate=%s.flac
application/x-tar; /bin/tar tvf -; print=/bin/tar tvf - | print text/plain:-; 
copiousoutput
application/x-gtar; /bin/tar tvzf -; print=/bin/tar tvzf - | print 
text/plain:-; copiousoutput
application/x-dvi; /usr/bin/xdvi '%s'; test=test -n "$DISPLAY"; description=TeX 
DVI file; nametemplate=%s.dvi
video/mpeg; mpeg_play '%s'; test=test "$DISPLAY" != ""; description=MPEG Video
text/plain; more '%s'; needsterminal
application/ogg; ogg123 '%s'; description="Ogg Vorbis multimedia format"
image/gif; xanim +q '%s'; description="GIF Image"; test=test "$DISPLAY" != ""
image/jpeg; xanim +q '%s'; description="JPEG Image"; test=test "$DISPLAY" != ""
video/dl; xanim +q '%s'; description="DL video format"; test=test "$DISPLAY" != 
""
video/fli; xanim +q '%s'; description="FLI Video Format"; test=test "$DISPLAY" 
!= ""
video/mpeg; xanim +q '%s'; description="MPEG Video Format"; test=test 
"$DISPLAY" != ""
video/quicktime; xanim +q '%s'; description="QuickTime Video Format"; test=test 
"$DISPLAY" != ""
video/x-msvideo; xanim +q '%s'; description="AVI Video Format"; test=test 
"$DISPLAY" != ""
video/x-sgi-movie; xanim +q '%s'; description="SGI Video Format"; test=test 
"$DISPLAY" != ""
audio/basic; xanim +q +Ze '%s'; description="AU Audio Format"; test=test 
"$DISPLAY" != ""
audio/x-wav; xanim +q +Ze '%s'; description="WAV Audio Format"; test=test 
"$DISPLAY" != ""
application/x-xfig; xfig '%s'; test=test -n "$DISPLAY"
audio/mpeg;     xmms '%s'; nametemplate=%s.mp3; test=test "$DISPLAY" != "" 
audio/mpegurl;  xmms '%s'; nametemplate=%s.m3u; test=test "$DISPLAY" != "" 
audio/x-scpls;  xmms '%s'; nametemplate=%s.pls; test=test "$DISPLAY" != "" 
audio/x-wav;    xmms '%s'; nametemplate=%s.wav; test=test "$DISPLAY" != "" 
audio/x-ogg;    xmms '%s'; nametemplate=%s.ogg; test=test "$DISPLAY" != ""
application/ogg;xmms '%s'; nametemplate=%s.ogg; test=test "$DISPLAY" != ""
audio/x-mpegurl;xmms '%s'; nametemplate=%s.m3u; test=test "$DISPLAY" != ""
text/html; /usr/bin/elinks -force-html '%s'; needsterminal; description=HTML 
Text; nametemplate=%s.html
application/postscript; ghostview '%s'; description="Postscript"; test=test 
"$DISPLAY"
application/ghostview; ghostview '%s'; description="Postscript"; test=test 
"$DISPLAY"
image/jpeg; gqview '%s'; test=test -n "$DISPLAY"
image/png; gqview '%s'; test=test -n "$DISPLAY"
image/gif; gqview '%s'; test=test -n "$DISPLAY"
image/tiff; gqview '%s'; test=test -n "$DISPLAY"
image/x-portable-bitmap; gqview '%s'; test=test -n "$DISPLAY"
image/x-portable-graymap; gqview '%s'; test=test -n "$DISPLAY"
image/x-portable-anymap; gqview '%s'; test=test -n "$DISPLAY"
image/x-portable-pixmap; gqview '%s'; test=test -n "$DISPLAY"
image/x-xbitmap; gqview '%s'; test=test -n "$DISPLAY"
image/x-xpixmap; gqview '%s'; test=test -n "$DISPLAY"
image/x-ms-bmp; gqview '%s'; test=test -n "$DISPLAY"
image/x-icon; gqview '%s'; test=test -n "$DISPLAY"
image/x-cmu-raster; gqview '%s'; test=test -n "$DISPLAY"
image/svg+xml; gqview '%s'; test=test -n "$DISPLAY"
image/vnd.wap.wbmp; gqview '%s'; test=test -n "$DISPLAY"
image/targa; gqview '%s'; test=test -n "$DISPLAY"
image/tga; gqview '%s'; test=test -n "$DISPLAY"
text/richtext; richtext '%s'; description="Richtext"; copiousoutput
text/enriched; richtext -e '%s'; description="Enriched Text"; copiousoutput
text/plain; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal
video/mpeg; vlc -I rc -V caca '%s'; needsterminal; description="MPEG Video"
video/x-mpeg; vlc -I rc -V caca '%s'; needsterminal; description="MPEG Video"
video/mpeg-system; vlc -I rc -V caca '%s'; needsterminal; description="MPEG 
Video"
video/x-mpeg-system; vlc -I rc -V caca '%s'; needsterminal; description="MPEG 
Video"
audio/x-wav; nametemplate=%s.wav; vlc -I rc -V caca '%s'; needsterminal; 
description="WAV Audio"
video/mpeg4; vlc -I rc -V caca '%s'; needsterminal; description="MPEG-4 Video"
audio/mpeg; nametemplate=%s.mpg; vlc -I rc -V caca '%s'; needsterminal; 
description="MPEG Audio"
audio/mpegurl; nametemplate=%s.m3u; vlc -I rc -V caca '%s'; needsterminal; 
description="MPEG Audio URL"
audio/x-mp3; nametemplate=%s.mp3; vlc -I rc -V caca '%s'; needsterminal; 
description="MPEG Audio"
audio/mpeg4; vlc -I rc -V caca '%s'; needsterminal; description="MPEG-4 Audio"
application/mpeg4-iod; vlc -I rc -V caca '%s'; needsterminal; 
description="MPEG-4 Video"
application/mpeg4-muxcodetable; vlc -I rc -V caca '%s'; needsterminal; 
description="MPEG-4 Video"
video/x-msvideo; vlc '%s'; description="MS Video (AVI)"; test=test -n "$DISPLAY"
video/quicktime; vlc '%s'; description="Apple Quicktime Video"; test=test -n 
"$DISPLAY"
application/ogg; nametemplate=%s.ogg; vlc '%s'; description="Ogg stream"; 
test=test -n "$DISPLAY"
application/x-ogg; nametemplate=%s.ogg; vlc '%s'; description="Ogg stream"; 
test=test -n "$DISPLAY"
application/x-ms-asf-plugin; vlc '%s'; description="Windows Media Video"; 
test=test -n "$DISPLAY"
application/x-mplayer2; vlc '%s'; description="Windows Media"; test=test -n 
"$DISPLAY"
video/mpeg; aaxine '%s'; needsterminal; description="MPEG Video"
video/x-msvideo; xine '%s'; description="MS Video (AVI)"; test=test -n 
"$DISPLAY"
video/quicktime; xine '%s'; description="Apple Quicktime Video"; test=test -n 
"$DISPLAY"
text/html; /usr/bin/elinks -force-html -dump '%s'; copiousoutput; 
description=HTML Text; nametemplate=%s.html
text/html; /usr/bin/lynx -force_html '%s'; needsterminal; description=HTML 
Text; nametemplate=%s.html
application/msword; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" 
!= ""; nametemplate=%s.doc; description="Microsoft Word Document"
application/mspowerpoint; openoffice '%s'; edit=openoffice '%s'; test=test 
"$DISPLAY" != ""; nametemplate=%s.ppt; description="Microsoft PowerPoint 
Document"
application/vnd.ms-word; openoffice '%s'; edit=openoffice '%s'; test=test 
"$DISPLAY" != ""; nametemplate=%s.doc; description="Microsoft Word Document"
application/vnd.ms-excel; openoffice '%s'; edit=openoffice '%s'; test=test 
"$DISPLAY" != ""; nametemplate=%s.xls; description="Microsoft Excel Document"
application/vnd.ms-powerpoint; openoffice '%s'; edit=openoffice '%s'; test=test 
"$DISPLAY" != ""; nametemplate=%s.ppt; description="Microsoft PowerPoint 
Document"
application/rtf; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != 
""; nametemplate=%s.rtf; description="Rich Text Format"
application/x-msword; openoffice '%s'; edit=openoffice '%s'; test=test 
"$DISPLAY" != ""; nametemplate=%s.doc; description="Microsoft Word Document"
application/x-msexcel; openoffice '%s'; edit=openoffice '%s'; test=test 
"$DISPLAY" != ""; nametemplate=%s.xls; description="Microsoft Excel Document"
application/x-mspowerpoint; openoffice '%s'; edit=openoffice '%s'; test=test 
"$DISPLAY" != ""; nametemplate=%s.ppt; description="Microsoft PowerPoint 
Document"
application/wordperfect; openoffice '%s'; edit=openoffice '%s'; test=test 
"$DISPLAY" != ""; nametemplate=%s.wpd; description="WordPerfect Document"
application/wordperfect5.1; openoffice '%s'; edit=openoffice '%s'; test=test 
"$DISPLAY" != ""; nametemplate=%s.wpd; description="WordPerfect Document"
application/vnd.wordperfect; openoffice '%s'; edit=openoffice '%s'; test=test 
"$DISPLAY" != ""; nametemplate=%s.wpd; description="WordPerfect Document"
video/x-msvideo; vlc -I rc -V caca '%s'; needsterminal; description="MS Video 
(AVI)"
video/quicktime; vlc -I rc -V caca '%s'; needsterminal; description="Apple 
Quicktime Video"
application/ogg; nametemplate=%s.ogg; vlc -I rc -V caca '%s'; needsterminal; 
description="Ogg stream"
application/x-ogg; nametemplate=%s.ogg; vlc -I rc -V caca '%s'; needsterminal; 
description="Ogg stream"
application/x-ms-asf-plugin; vlc -I rc -V caca '%s'; needsterminal; 
description="Windows Media Video"
application/x-mplayer2; vlc -I rc -V caca '%s'; needsterminal; 
description="Windows Media"
video/x-msvideo; aaxine '%s'; needsterminal; description="MS Video (AVI)"
video/quicktime; aaxine '%s'; needsterminal; description="Apple Quicktime Video"
application/x-abiword; abiword '%s' ; edit=abiword '%s' ; test=test "$DISPLAY" 
!= "" ; description="AbiWord Document"
application/vnd.ms-word; abiword '%s' ; edit=abiword '%s' ; test=test 
"$DISPLAY" != "" ; nametemplate=%s.doc ; description="Microsoft Word Document"
application/msword; abiword '%s' ; edit=abiword '%s' ; test=test "$DISPLAY" != 
"" ; description="Microsoft Word Document"
application/rtf; abiword '%s' ; edit=abiword '%s' ; test=test "$DISPLAY" != "" 
; description="Rich Text document"
text/abiword; abiword '%s' ; edit=abiword '%s' ; test=test "$DISPLAY" != "" ; 
description="AbiWord Document"
text/plain; abiword '%s' ; edit=abiword '%s' ; test=test "$DISPLAY" != "" ; 
description="Text file"
text/richtext; abiword '%s' ; edit=abiword '%s' ; test=test "$DISPLAY" != "" ; 
description="Rich Text document"
text/rtf; abiword '%s' ; edit=abiword '%s' ; test=test "$DISPLAY" != "" ; 
description="Rich Text document"
text/html; /usr/bin/html2text '%s'; copiousoutput; description=HTML Text
application/x-abiword; kword '%s';test=test "$DISPLAY" != ""
application/msword; kword '%s';test=test "$DISPLAY" != ""
text/rtf; kword '%s';test=test "$DISPLAY" != ""
text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput; 
description=HTML Text; nametemplate=%s.html
image/png;  /usr/bin/mozilla '%s'; description=PNG Image; test=test -n 
"$DISPLAY";  nametemplate=%s.png
image/jpeg;  /usr/bin/mozilla '%s'; description=JPEG Image; test=test -n 
"$DISPLAY";  nametemplate=%s.jpeg
image/gif;  /usr/bin/mozilla '%s'; description=GIF Image; test=test -n 
"$DISPLAY";  nametemplate=%s.gif
image/png;  /usr/bin/mozilla-firefox '%s'; description=PNG Image; test=test -n 
"$DISPLAY";  nametemplate=%s.png
image/jpeg;  /usr/bin/mozilla-firefox '%s'; description=JPEG Image; test=test 
-n "$DISPLAY";  nametemplate=%s.jpeg
image/gif;  /usr/bin/mozilla-firefox '%s'; description=GIF Image; test=test -n 
"$DISPLAY";  nametemplate=%s.gif
audio/mpeg; /usr/bin/gtv '%s'; description="MPEG audio files"; test=test -n 
"$DISPLAY"
audio/mpeg; /usr/bin/plaympeg '%s'; description="MPEG audio files"
application/ms-tnef; /usr/bin/tnef -w -f '%s'; needsterminal; 
description=Microsoft's Exchange Encapsulation; nametemplate=%s.data
text/*; less '%s'; needsterminal
text/*; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal
text/html; /usr/bin/sensible-browser '%s'; description=HTML Text; 
nametemplate=%s.html
text/*; more '%s'; needsterminal
application/msword; /usr/bin/antiword '%s'; copiousoutput; 
description="Microsoft Word Text"; nametemplate=%s.doc
application/x-debian-package; /usr/lib/mime/debian-view '%s'; needsterminal; 
description=Debian GNU/Linux Package; nametemplate=%s.deb
audio/basic; /usr/lib/mime/playaudio '%s'; description=Basic uLaw Audio; 
nametemplate=%s.au
application/pdf; false; x-mozilla-flags=plugin:nppdf.so
image/gif; false; x-mozilla-flags=internal
image/jpeg; false; x-mozilla-flags=internal
image/pjpeg; false; x-mozilla-flags=internal
image/png; false; x-mozilla-flags=internal
image/x-xbitmap; false; x-mozilla-flags=internal
image/x-xbm; false; x-mozilla-flags=internal
image/xbm; false; x-mozilla-flags=internal
text/plain; false; x-mozilla-flags=internal
text/html; false; x-mozilla-flags=internal
text/mdl; false; x-mozilla-flags=internal
application/x-gtar; false; x-mozilla-flags=save
application/x-debian-package; false; x-mozilla-flags=save

--- Begin Message ---
-- 
-- "Museum Of Communism: above Mc Donald's, next to Casino"
-- found in Prague

Attachment: test.mp3
Description: audio/mpeg


--- End Message ---
-- cm: 500 MB fuer /boot ist aber ein, aehhh, interessantes gefuehl --
--     haben deine kernel-images lethale blaehungen?
-- rw: nee. aber was weiss ich schon von den deinen...
-- cm: ned red so ueber meine kernel-images. so ned!

Attachment: pgpkJMUJJMHrF.pgp
Description: PGP signature

Reply via email to