application/pdf:
	open=xpdf %f
    icon-filename=/opt/gnome/share/pixmaps/mc/gnome-application-pdf.png

application/pgp:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-application-pgp.png

application/postscript:
	open=gv %f
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-application-postscript.png

application/zip:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-package.png
	fm-open=%cd %p#uzip
	fm-view=%view{ascii} unzip -v %f
	open.extract.Extract=unzip %f
	open.extractf.Extract with flags=I=%{Enter any Unzip flags:}; if test -n "$I"; then unzip $I %f; fi

application/x-e-theme:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-application-x-e-theme.png
		
application/x-theme:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-compressed.png

application/x-troff-man:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-manpage.png
	fm-view=%view{ascii,nroff} nroff  -Tlatin1 -mandoc %f

application/x-troff-man-compressed:
	fm-view=%view{ascii,nroff} gunzip -dc %f | nroff  -Tlatin1 -mandoc
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-manpage.png

application/x-troff-ms:
	fm-view=%view{ascii,nroff} nroff  -Tlatin1 -ms %f

application/x-troff-me:
	fm-view=%view{ascii,nroff} nroff  -Tlatin1 -me %f

application/*spreadsheet*:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-application-x-generic-spreadsheet.png

application/x-gzip:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-compressed.png
	open.extract.Extract=gzip -d %f

application/x-object-file:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-objectfile.png

application/x-shared-library:
	fm-view=%view{hex}
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-library.png

application/x-shared-library-la:
	fm-view=%view{hex}
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-library.png

application/x-cpio-compressed:
	fm-open=%cd %p#ucpio/
	fm-view=%view{ascii} gzip -dc '%f' | cpio -ictv
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-compressed.png

application/x-profile:
	open="cd %d; gprof | less"
	flags.open.flags=needsterminal
	view="cd %d; gprof | less"
	flags.view.flags=needsterminal

application/x-cgi:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-text-html.png
        open=gnome-moz-remote file:%f

application/x-asp:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-text-html.png
        open=gnome-moz-remote file:%f

application/x-php:
 	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-application-x-php.png
 		open=gnome-moz-remote file:%f

application/x-cpio:
	fm-open=%cd %d/%p#ucpio/
	fm-view=%view{ascii} cat %f | cpio -ictv

application/x-backup:
	icon-filename=/opt/gnome/share/pixmaps/mc/../gnome-default-dlg.png

application/x-reject:
 	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-application-x-reject.png


application/x-applix-spreadsheet
	open=applix %f
	edit=applix %f
	view=applix %f

application/x-applix-word
	open=applix %f
	edit=applix %f
	view=applix %f

application/x-compressed-tar
	fm-open=%cd %p#utar
	fm-view=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf -
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-package.png
	open.extract.Extract=gzip -dc %f 2>/dev/null | tar xf -

application/x-bzip-compressed-tar
	fm-open=%cd %p#utar
	fm-view=%view{ascii} bzip2 -dc %f 2>/dev/null | tar tvvf -
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-package.png

application/x-bzip:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-compressed.png
	fm-view=%view{ascii} bzip2 -dc %f 2>/dev/null | tar tvvf -
	open.extract.Extract=bzip2 -dc %f 2>/dev/null | tar xf -

application/x-tar:
	fm-open=%cd %p#utar
	fm-view=%view{ascii} tar tvvf %f
	open.extract.Extract=tar xf %f
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-package.png

application/x-rpm:
	fm-open=%cd %p#rpm
	open.install.Install this RPM=rpm -i %f
	open.upgrade.Upgrade this RPM=rpm -U %f
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-pack-rpm.png

application/x-deb:
	fm-open=%cd %p#deb
	fm-view=%view{ascii} dpkg-deb -c %f
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-pack-deb.png

application/x-slp:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-pack-slp.png
	
application/x-zoo:
	fm-open=%cd %p#uzoo
	fm-view=%view{ascii} zoo l %f
	open.extract.Extract=zoo x %f '*'
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-package.png

application/x-lha:
	fm-open=%cd %p#ulha
	fm-view=%view{ascii} lharc l %f
	open.extract.Extract=lharc x %f '*'
	open.extractf.Extract (with flags)=I=%{Enter any LHarc flags:}; if test -n "$I"; then lharc x $I %f; fi
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-package.png

application/x-arj:
	fm-open=%cd %p#uarj
	fm-view=%view{ascii} unarj l %f
	open.extract.Extract=unarj x %f '*'
	open.extractf.Extract (with flags)=I=%{Enter any Unarj flags:}; if test -n "$I"; then unarj x $I %f; fi
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-package.png

application/x-unix-archive:	
	fm-open=%cd %p#uar
	fm-view=%view{ascii} nm %f
application/x-shared-library:
	fm-view=%view{hex}
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-library.png

application/x-object-file:
	open=%view{hex} %f

application/x-dvi:
	open=xdvi %f
	view=xdvi %f
	open.convert.Convert file to Postscript=dvips %f -o `basename %f .dvi`.ps

application/x-gnome-app-info:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-application-x-gnome-app-info.png

application/x-kde-app-info:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-application-x-kde-app-info.png

application/x-tex:
	open.tex.TeX this file=tex %f
	flags.tex.flags=needsterminal
	open.latex.LaTeX this file=latex %f
	flags.latex.flags=needsterminal
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-tex.png

audio/basic:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-audio-basic.png

audio/midi:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-audio-midi.png

audio/x-ulaw:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-audio-ulaw.png

audio/x-aiff:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-audio-x-aiff.png

audio/x-mod:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-audio-x-mod.png

audio/x-mp3:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-audio-x-mp3.png

audio/x-pn-realaudio:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-audio-x-pn-realaudio.png

audio/x-stm:
 	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-audio-x-stm.png

audio/x-voc:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-audio-x-voc.png

audio/x-wav:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-audio-x-wav.png

audio/*:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-audio.png
	open=esdplay %f

audio/x-mp3:
	open=mpg123 %f
	open.xmms.Use xmms to play this=xmms %f

audio/x-mod:
	open=xmms %f
	view=xmms %f

audio/x-s3m:
 	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-audio-x-s3m.png
	open=xmms %f
	view=xmms %f

audio/x-xi:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-audio-x-xi.png

audio/x-xm:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-audio-x-xm.png
	open=xmms %f
	view=xmms %f

font/afm:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-font-afm.png

font/ttf:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-font-ttf.png

font/x-pcf:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-font-x-pcf.png

image/*:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-generic.png

image/x-bmp:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-bmp.png

image/x-gimp:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-xcf.png
	open=gimp %f
	edit=gimp %f
	view=gimp %f

image/x-compressed-gimp:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-xcf.png
	open=gimp %f
	edit=gimp %f
	view=gimp %f

image/gif:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-gif.png

image/jpeg:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-jpeg.png


image/ief:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-ief.png

image/x-xfig:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-x-xfig.png
	open=xfig %f
	view=xfig %f

image/x-portable-bitmap:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-pbm.png

image/x-portable-graymap:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-pgm.png

image/x-png:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-png.png

image/png:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-png.png

image/x-portable-anymap:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-pnm.png

image/x-portable-pixmap:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-ppm.png

image/x-cmu-raster:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-ras.png

image/x-rgb:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-rgb.png

image/x-tga:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-tga.png

image/tiff:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-tiff.png

image/x-xbitmap:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-xbm.png

image/x-xpixmap:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-xpm.png

image/x-xwindowdump:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-xwd.png

image/x-psd:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-image-psd.png

message/x-gnu-rmail:
	open=emacs %f

text/*:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-textfile.png
	open=gnome-edit %f
	edit=gnome-edit %f
	fm-view=%view{ascii}

text/x-authors:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-text-x-authors.png

text/x-copying:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-text-x-copying.png
	
text/x-credits:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-text-x-credits.png
	
text/x-install:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-text-x-install.png
	
text/x-makefile:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-text-x-makefile.png
	
text/x-readme:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-text-x-readme.png

text/x-vCard:
	icon-filename=@gnomeicons@/gnome-calendar.png

text/x-c:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-application-x-c-source.png

text/x-C++:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-application-x-cc-source.png

text/x-java:
 	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-application-x-java-source.png

text/x-scheme:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-application-x-scheme-source.png
 
text/x-sql:
 	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-application-x-sql.png

text/x-comma-separated-values:
	open=gnumeric %f
	view=gnumeric %f

text/tab-separated-values
	open=gnumeric %f
	view=gnumeric %f

text/html:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-text-html.png
	open=gnome-moz-remote file:%f
	open.netscape.View this file with Netscape=gnome-moz-remote file:%f

video/*:
	open=xanim +f %f
	view=xanim +f %f

video/mpeg:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-video-mpeg.png

video/quicktime:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-video-quicktime.png

video/x-ms-video:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-video-x-msvideo.png

x-url/http:
	icon-filename=/opt/gnome/share/pixmaps/mc/gnome-text-url.png
	open=gnome-moz-remote %f

x-url/ftp:
	fm-open=cd %f

x-url/news:
	open=gnome-moz-remote %f
