application/pdf:
	open=xpdf %f

application/postscript:
	open=gv %f
	icon-filename=@icondir@/gnome-application-postscript.png

application/zip:
	icon-filename=@icondir@/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=@icondir@/gnome-compressed.png
		
application/x-theme:
	icon-filename=@icondir@/gnome-compressed.png

application/x-troff-man:
	icon-filename=@icondir@/gnome-manpage.png
	fm-view=%view{ascii,nroff} nroff @TROFFASCII@ @MANDOC@ %f

application/x-troff-man-compressed:
	fm-view=%view{ascii,nroff} gunzip -dc %f | nroff @TROFFASCII@ @MANDOC@
	icon-filename=@icondir@/gnome-manpage.png

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

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

application/x-gzip:
	icon-filename=@icondir@/gnome-compressed.png

application/x-object-file:
	icon-filename=@icondir@/gnome-objectfile.png

application/x-shared-library:
	fm-view=%view{hex}
	icon-filename=@icondir@/gnome-library.png

application/x-shared-library-la:
	fm-view=%view{hex}
	icon-filename=@icondir@/gnome-library.png

application/x-cpio-compressed:
	fm-open=%cd %p#ucpio/
	fm-view=%view{ascii} gzip -dc '%f' | cpio -ictv
	icon-filename=@icondir@/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=@icondir@/gnome-text-html.png
        open=gnome-moz-remote file:%f

application/x-asp:
	icon-filename=@icondir@/gnome-text-html.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=/usr/share/pixmaps/gnome-default-dlg.png

application/x-applix-spreadsheet
	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=@icondir@/gnome-package.png

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

application/x-bzip:
	icon-filename=@icondir@/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=@icondir@/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=@icondir@/gnome-pack-rpm.png

application/x-deb:
	fm-open=%cd %p#deb
	fm-view=%view{ascii} dpkg-deb -c %f
	icon-filename=@icondir@/gnome-pack-deb.png
	
application/x-zoo:
	fm-open=%cd %p#uzoo
	fm-view=%view{ascii} zoo l %f
	open.extract.Extract=zoo x %f '*'
	icon-filename=@icondir@/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=@icondir@/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=@icondir@/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=@icondir@/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-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=@icondir@/gnome-tex.png

audio/basic:
	icon-filename=@icondir@/gnome-audio-basic.png

audio/midi:
	icon-filename=@icondir@/gnome-audio-midi.png

audio/x-ulaw:
	icon-filename=@icondir@/gnome-audio-ulaw.png

audio/x-aiff:
	icon-filename=@icondir@/gnome-audio-x-aiff.png

audio/x-mod:
	icon-filename=@icondir@/gnome-audio-x-mod.png

audio/x-mp3:
	icon-filename=@icondir@/gnome-audio-x-mp3.png

audio/x-pn-realaudio:
	icon-filename=@icondir@/gnome-audio-x-pn-realaudio.png

audio/x-voc:
	icon-filename=@icondir@/gnome-audio-x-voc.png

audio/x-wav:
	icon-filename=@icondir@/gnome-audio-x-wav.png

audio/*:
	icon-filename=@icondir@/gnome-audio.png
	open=esdplay %f

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

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

audio/x-s3m:
	open=x11amp %f
	view=x11amp %f

audio/x-xm:
	open=x11amp %f
	view=x11amp %f


image/*:
	icon-filename=@icondir@/gnome-image-generic.png

image/x-bmp:
	icon-filename=@icondir@/gnome-image-bmp.png

image/x-xcf:
	icon-filename=@icondir@/gnome-image-xcf.png

image/x-compressed-xcf:
	icon-filename=@icondir@/gnome-image-xcf.png

image/gif:
	icon-filename=@icondir@/gnome-image-gif.png

image/jpeg:
	icon-filename=@icondir@/gnome-image-jpeg.png


image/ief:
	icon-filename=@icondir@/gnome-image-ief.png

image/x-xfig:
	open=xfig %f
	view=xfig %f

image/x-portable-bitmap:
	icon-filename=@icondir@/gnome-image-pbm.png

image/x-portable-graymap:
	icon-filename=@icondir@/gnome-image-pgm.png

image/x-png:
	icon-filename=@icondir@/gnome-image-png.png

image/png:
	icon-filename=@icondir@/gnome-image-png.png

image/x-portable-anymap:
	icon-filename=@icondir@/gnome-image-pnm.png

image/x-portable-pixmap:
	icon-filename=@icondir@/gnome-image-ppm.png

image/x-cmu-raster:
	icon-filename=@icondir@/gnome-image-ras.png

image/x-rgb:
	icon-filename=@icondir@/gnome-image-rgb.png

image/x-tga:
	icon-filename=@icondir@/gnome-image-tga.png

image/tiff:
	icon-filename=@icondir@/gnome-image-tiff.png

image/x-xbitmap:
	icon-filename=@icondir@/gnome-image-xbm.png

image/x-xpixmap:
	icon-filename=@icondir@/gnome-image-xpm.png

image/x-xwindowdump:
	icon-filename=@icondir@/gnome-image-xwd.png

image/x-psd:
	icon-filename=@icondir@/gnome-image-psd.png

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

text/*:
	icon-filename=@icondir@/gnome-textfile.png
	open=gnome-edit %f
	edit=gnome-edit %f
	fm-view=%view{ascii}

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


text/x-c:
	icon-filename=@icondir@/gnome-application-x-c-source.png

text/x-C++:
	icon-filename=@icondir@/gnome-application-x-cc-source.png

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

text/html:
	icon-filename=@icondir@/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=@icondir@/gnome-video-mpeg.png

video/quicktime:
	icon-filename=@icondir@/gnome-video-quicktime.png

video/x-ms-video:
	icon-filename=@icondir@/gnome-video-x-msvideo.png

x-url/http:
	icon-filename=@icondir@/gnome-text-url.png
	open=gnome-moz-remote %f

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

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