On Mon, 30 Jul 2001, Dale Morris wrote:

> I'm running debian woody and can't get mutt to open netscape for
> text/html mime types. Instead it opens the gnome help browser. I've
> tried editing my /etc/mailcap file, my ~/.mailcap file and nothing
> helps. I've even read the manual. I know this is a simple solution,
> but could someone give me a pointer? I'll attach my mailcap files..
> 
duh...forgot to attach the files. sorry.. it's late and I've been at
this too long..

dale
###############################################################################
#
#  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 ----- #

text/html; netscape -remote "openURL(%s)" || netscape %s; test=RunningX

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

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

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
text/plain; less '%s'; needsterminal
audio/midi; /usr/bin/timidity -im '%s'; test=test -n "$DISPLAY"; description=A MIDI 
file; nametemplate=%s.mid
audio/x-midi; /usr/bin/timidity -im '%s'; test=test -n "$DISPLAY"; description=A MIDI 
file; nametemplate=%s.mid
text/plain; cat '%s'; print=/usr/bin/a2ps '%s'; copiousoutput
application/pdf; /usr/bin/acroread '%s'; test=test -n "$DISPLAY"; description=Portable 
Document Format; nametemplate=%s.pdf
text/html; gnome-help-browser '%s'; nametemplate=%s.html; test=test -n "$DISPLAY"
application/x-troff-man; /usr/bin/nroff -mandoc -Tlatin1; copiousoutput; 
print=/usr/bin/nroff -mandoc -Tlatin1 | print text/plain:-
application/postscript; /usr/bin/X11/gv '%s'; test=test -n "$DISPLAY"; 
description=postscript
application/ghostview; /usr/bin/X11/gv '%s'; test=test -n "$DISPLAY"
application/pdf; /usr/bin/X11/gv '%s'; test=test -n "$DISPLAY"
text/html; /usr/bin/html2text '%s'; copiousoutput; description=HTML Text
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"
audio/mpeg; mpg123 -q '%s'
audio/x-pn-realaudio; realplayer '%s'; test=test "$DISPLAY" != ""
audio/vnd.rn-realaudio; realplayer '%s'; test=test "$DISPLAY" != ""
application/smil; realplayer '%s'; test=test "$DISPLAY" != ""
audio/x-pn-mp3; realplayer '%s'; test=test "$DISPLAY" != ""
audio/basic; /usr/bin/play '%s' -t au 
audio/x-aiff; /usr/bin/play '%s' -t aiff
audio/x-gsm; /usr/bin/play '%s' -t gsm
audio/x-wav; /usr/bin/play '%s' -t wav
application/x-dvi; /usr/bin/xdvi '%s'; test=test -n "$DISPLAY"; description=TeX DVI 
file; nametemplate=%s.dvi
audio/midi; /usr/bin/timidity -id '%s'; description=A MIDI file; nametemplate=%s.mid
audio/x-midi; /usr/bin/timidity -id '%s'; description=A MIDI file; nametemplate=%s.mid
text/plain; more '%s'; needsterminal
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" 
!= ""
image/gif  ; /usr/bin/xloadimage '%s' ; test=test -n "$DISPLAY"
image/jpeg ; /usr/bin/xloadimage '%s' ; test=test -n "$DISPLAY"
image/png  ; /usr/bin/xloadimage '%s' ; test=test -n "$DISPLAY"
image/tiff ; /usr/bin/xloadimage '%s' ; test=test -n "$DISPLAY"
image/x-cmu-raster; /usr/bin/xloadimage '%s' ; test=test -n "$DISPLAY"
image/x-portable-anymap; /usr/bin/xloadimage '%s' ; test=test -n "$DISPLAY"
image/x-portable-bitmap; /usr/bin/xloadimage '%s' ; test=test -n "$DISPLAY"
image/x-portable-graymap; /usr/bin/xloadimage '%s' ; test=test -n "$DISPLAY"
image/x-portable-pixmap; /usr/bin/xloadimage '%s' ; test=test -n "$DISPLAY"
image/x-xbitmap ; /usr/bin/xloadimage '%s' ; test=test -n "$DISPLAY"
image/x-xpixmap ; /usr/bin/xloadimage '%s' ; test=test -n "$DISPLAY"
image/x-xwindowdump ; /usr/bin/xloadimage '%s' ; test=test -n "$DISPLAY"
audio/mpeg; xmms '%s'; test=test "$DISPLAY" != "" 
audio/mpegurl; xmms '%s'; test=test "$DISPLAY" != "" 
audio/x-scpls; xmms '%s'; test=test "$DISPLAY" != "" 
audio/x-wav; xmms '%s'; test=test "$DISPLAY" != "" 
application/x-xm; /usr/bin/xmp-view '%s'; needsterminal; copiousoutput; 
description=Module file; nametemplate=%s.xm
application/x-mod; /usr/bin/xmp-view '%s'; needsterminal; copiousoutput; 
description=Module file; nametemplate=%s.mod
application/x-s3m; /usr/bin/xmp-view '%s'; needsterminal; copiousoutput; 
description=Module file; nametemplate=%s.s3m
application/x-stm; /usr/bin/xmp-view '%s'; needsterminal; copiousoutput; 
description=Module file; nametemplate=%s.stm
application/x-mtm; /usr/bin/xmp-view '%s'; needsterminal; copiousoutput; 
description=Module file; nametemplate=%s.mtm
application/x-ptm; /usr/bin/xmp-view '%s'; needsterminal; copiousoutput; 
description=Module file; nametemplate=%s.ptm
application/x-okt; /usr/bin/xmp-view '%s'; needsterminal; copiousoutput; 
description=Module file; nametemplate=%s.okt
application/x-far; /usr/bin/xmp-view '%s'; needsterminal; copiousoutput; 
description=Module file; nametemplate=%s.far
application/x-wow; /usr/bin/xmp-view '%s'; needsterminal; copiousoutput; 
description=Module file; nametemplate=%s.wow
application/x-amd; /usr/bin/xmp-view '%s'; needsterminal; copiousoutput; 
description=Module file; nametemplate=%s.amd
application/x-rad; /usr/bin/xmp-view '%s'; needsterminal; copiousoutput; 
description=Module file; nametemplate=%s.rad
application/x-669; /usr/bin/xmp-view '%s'; needsterminal; copiousoutput; 
description=Module file; nametemplate=%s.669
application/x-alm; /usr/bin/xmp-view '%s'; needsterminal; copiousoutput; 
description=Module file; nametemplate=%s.alm
application/postscript; ghostview '%s'; description="Postscript"; test=test "$DISPLAY"
application/ghostview; ghostview '%s'; description="Postscript"; test=test "$DISPLAY"
text/html; /usr/bin/w3m -T text/html '%s'; needsterminal; description=HTML Text; 
nametemplate=%s.html
text/html; /usr/bin/lynx -force_html '%s'; needsterminal; description=HTML Text; 
nametemplate=%s.html
text/html; /usr/bin/mozilla '%s'; description=HTML Text; nametemplate=%s.html
text/html; /usr/bin/w3m -dump -T text/html '%s'; copiousoutput; description=HTML Text; 
nametemplate=%s.html
image/png; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=PNG Image; 
nametemplate=%s.png
image/x-ms-bmp; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=BMP 
Image; nametemplate=%s.bmp
image/x-cmu-raster; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; 
description=CMU-RasterFile Image; nametemplate=%s.ras
image/g3fax; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=G3-FAX 
Image; nametemplate=%s.g3
image/gif; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=GIF Image; 
nametemplate=%s.gif
image/jpeg; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=JPEG Image; 
nametemplate=%s.jpg
image/targa; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=TARGA 
Image; nametemplate=%s.tga
image/x-portable-bitmap; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; 
description=PBM Image; nametemplate=%s.pbm
image/x-portable-graymap; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; 
description=PGM Image; nametemplate=%s.pgm
image/x-portable-pixmap; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; 
description=PPM Image; nametemplate=%s.ppm
image/x-rgb; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=RGB Image; 
nametemplate=%s.rgb
image/x-xbitmap; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=XBM 
Image; nametemplate=%s.xbm
image/x-xpixmap; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=XPM 
Image; nametemplate=%s.xpm
text/*; less '%s'; needsterminal
text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput; description=HTML Text; 
nametemplate=%s.html
text/*; more '%s'; needsterminal
application/pdf; false; x-mozilla-flags=plugin:nppdf.so
application/msword; /usr/bin/antiword '%s'; copiousoutput; description="Microsoft Word 
Text"; nametemplate=%s.doc
*/*; less '%s'; needsterminal
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
text/html; netscape -remote "openURL(%s)" || netscape %s; test=RunningX

audio/x-pn-realaudio;/usr/lib/RealPlayer8/realplay "%u"
audio/vnd.rn-realaudio;/usr/lib/RealPlayer8/realplay "%u"
text/html; netscape -remote "openURL(%s)" || netscape %s; test=RunningX
application/smil;/usr/lib/RealPlayer8/realplay "%u"
text/vnd.rn-realtext;/usr/lib/RealPlayer8/realplay "%u"
video/vnd.rn-realvideo;/usr/lib/RealPlayer8/realplay "%u"
image/vnd.rn-realflash;/usr/lib/RealPlayer8/realplay "%u"
application/x-shockwave-flash2-preview;/usr/lib/RealPlayer8/realplay "%u"
application/sdp;/usr/lib/RealPlayer8/realplay "%u"
application/x-sdp;/usr/lib/RealPlayer8/realplay "%u"
application/vnd.rn-realmedia;/usr/lib/RealPlayer8/realplay "%u"
image/vnd.rn-realpix;/usr/lib/RealPlayer8/realplay "%u"
audio/wav;/usr/lib/RealPlayer8/realplay "%u"
audio/x-wav;/usr/lib/RealPlayer8/realplay "%u"
audio/x-pn-wav;/usr/lib/RealPlayer8/realplay "%u"
audio/x-pn-windows-acm;/usr/lib/RealPlayer8/realplay "%u"
audio/basic;/usr/lib/RealPlayer8/realplay "%u"
audio/x-pn-au;/usr/lib/RealPlayer8/realplay "%u"
audio/aiff;/usr/lib/RealPlayer8/realplay "%u"
audio/x-aiff;/usr/lib/RealPlayer8/realplay "%u"
audio/x-pn-aiff;/usr/lib/RealPlayer8/realplay "%u"
#mailcap entry added by Netscape Helper
application/x-chess-pgn;/usr/bin/games/gnuchess
#mailcap entry added by Netscape Helper
audio/x-mpegurl;;\
        x-mozilla-flags=plugin:Plugger 3.2
#mailcap entry added by Netscape Helper
audio/x-mpeg-url;/usr/bin/xmms %s
#mailcap entry added by Netscape Helper
audio/mpeg-url;;\
        x-mozilla-flags=plugin:Plugger 3.2
#mailcap entry added by Netscape Helper
audiox/mpegurl;xmms '%s'

Reply via email to