$ grep pdf /etc/mailcap
application/pdf;            okular '%s';        nametemplate=%s.pdf;
test=test "$DISPLAY" != ""
application/x-pdf;          okular '%s';        nametemplate=%s.pdf;
test=test "$DISPLAY" != ""
application/x-gzpdf;        okular '%s';        nametemplate=%s.pdf.gz;
test=test "$DISPLAY" != ""
application/x-bzpdf;        okular '%s';        nametemplate=%s.pdf.bz2;
test=test "$DISPLAY" != ""
application/pdf; evince '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf
application/x-pdf; evince '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf
application/x-bzpdf; evince '%s'; test=test -n "$DISPLAY";
nametemplate=%s.pdf.bz2
application/x-gzpdf; evince '%s'; test=test -n "$DISPLAY";
nametemplate=%s.pdf.gz
image/pdf; display 'pdf:'%s''; test=test -n "$DISPLAY"


-- 
Regards, Krasu
-1219426592[b7323270]: Here we do an extension lookup for 'mhtml'
-1219426592[b7323270]: -- LookUpTypeAndDescription for extension 'mhtml'
-1219426592[b7323270]: -- GetFileLocation.  Pref: 
'helpers.private_mime_types_file'  EnvVar: '(null)'
-1219426592[b7323270]: -- GetTypeAndDescriptionFromMimetypesFile
-1219426592[b7323270]: Getting type and description from types file 
'~/.mime.types'
-1219426592[b7323270]: Using extension 'mhtml'
-1219426592[b7323270]: -- CreateInputStream
-1219426592[b7323270]: Looking in GNOME registry
-1219426592[b7323270]: Got MIMEInfo from GNOME registry
-1219426592[b7323270]: Here we do an extension lookup for 'mht'
-1219426592[b7323270]: -- LookUpTypeAndDescription for extension 'mht'
-1219426592[b7323270]: -- GetFileLocation.  Pref: 
'helpers.private_mime_types_file'  EnvVar: '(null)'
-1219426592[b7323270]: -- GetTypeAndDescriptionFromMimetypesFile
-1219426592[b7323270]: Getting type and description from types file 
'~/.mime.types'
-1219426592[b7323270]: Using extension 'mht'
-1219426592[b7323270]: -- CreateInputStream
-1219426592[b7323270]: Looking in GNOME registry
-1219426592[b7323270]: Got MIMEInfo from GNOME registry
-1219426592[b7323270]: Here we do an extension lookup for 'eml'
-1219426592[b7323270]: -- LookUpTypeAndDescription for extension 'eml'
-1219426592[b7323270]: -- GetFileLocation.  Pref: 
'helpers.private_mime_types_file'  EnvVar: '(null)'
-1219426592[b7323270]: -- GetTypeAndDescriptionFromMimetypesFile
-1219426592[b7323270]: Getting type and description from types file 
'~/.mime.types'
-1219426592[b7323270]: Using extension 'eml'
-1219426592[b7323270]: -- CreateInputStream
-1219426592[b7323270]: Looking in GNOME registry
-1219426592[b7323270]: Got MIMEInfo from GNOME registry
-1219426592[b7323270]: Here we do an extension lookup for 'mht'
-1219426592[b7323270]: -- LookUpTypeAndDescription for extension 'mht'
-1219426592[b7323270]: -- GetFileLocation.  Pref: 
'helpers.private_mime_types_file'  EnvVar: '(null)'
-1219426592[b7323270]: -- GetTypeAndDescriptionFromMimetypesFile
-1219426592[b7323270]: Getting type and description from types file 
'~/.mime.types'
-1219426592[b7323270]: Using extension 'mht'
-1219426592[b7323270]: -- CreateInputStream
-1219426592[b7323270]: Looking in GNOME registry
-1219426592[b7323270]: Got MIMEInfo from GNOME registry
-1219426592[b7323270]: Found extension 'pdf' (filename is 's3_9_9.pdf', 
handling attachment: 0)
-1219426592[b7323270]: HelperAppService::DoContent: mime 'application/pdf', 
extension 'pdf'
-1219426592[b7323270]: Getting mimeinfo from type 'application/pdf' ext 'pdf'
-1219426592[b7323270]: Here we do a mimetype lookup for 'application/pdf'
-1219426592[b7323270]: -- LookUpHandlerAndDescription for type 'application/pdf'
-1219426592[b7323270]: -- GetFileLocation.  Pref: 
'helpers.private_mailcap_file'  EnvVar: 'PERSONAL_MAILCAP'
-1219426592[b7323270]: -- GetHandlerAndDescriptionFromMailcapFile
-1219426592[b7323270]: Getting handler and description from mailcap file 
'~/.mailcap'
-1219426592[b7323270]: Using type 'application/pdf'
-1219426592[b7323270]: Private Handler/Description results:  handler='', 
description=''
-1219426592[b7323270]: Looking in GNOME registry
-1219426592[b7323270]: -- LookUpExtensionsAndDescription for type 
'application/pdf'
-1219426592[b7323270]: -- GetFileLocation.  Pref: 
'helpers.private_mime_types_file'  EnvVar: '(null)'
-1219426592[b7323270]: -- GetExtensionsAndDescriptionFromMimetypesFile
-1219426592[b7323270]: Getting extensions and description from types file 
'~/.mime.types'
-1219426592[b7323270]: Using type 'application/pdf'
-1219426592[b7323270]: -- CreateInputStream
-1219426592[b7323270]: -- GetFileLocation.  Pref: 
'helpers.global_mime_types_file'  EnvVar: '(null)'
-1219426592[b7323270]: -- GetExtensionsAndDescriptionFromMimetypesFile
-1219426592[b7323270]: Getting extensions and description from types file 
'/etc/mime.types'
-1219426592[b7323270]: Using type 'application/pdf'
-1219426592[b7323270]: -- CreateInputStream
-1219426592[b7323270]: Current entry: 'application/activemessage'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/andrew-inset                 
ez'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/annodex                      
        anx'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/applefile'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/atom+xml                     
        atom'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/atomcat+xml                  
        atomcat'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/atomserv+xml                 
atomsrv'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/atomicmail'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/batch-SMTP'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/beep+xml'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/bbolin                       
        lin'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/cals-1840'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/cap                          
        cap pcap'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/commonground'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/cu-seeme                     
        cu'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/cybercash'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/davmount+xml                 
davmount'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/dca-rft'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/dec-dx'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/docbook+xml'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/dsptype                      
        tsp'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/dvcs'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/ecmascript                   
        es'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/edi-consent'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/edi-x12'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/edifact'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/eshop'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/font-tdpfr'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/futuresplash                 
spl'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/ghostview'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/hta                          
        hta'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/http'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/hyperstudio'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/iges'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/index'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/index.cmd'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/index.obj'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/index.response'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/index.vnd'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/iotp'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/ipp'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/isup'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/java-archive                 
jar'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/java-serialized-object       
        ser'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/java-vm                      
        class'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/javascript                   
        js'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/m3g                          
        m3g'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/mac-binhex40                 
hqx'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/mac-compactpro               
        cpt'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/macwriteii'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/marc'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/mathematica                  
        nb nbp'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/ms-tnef'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/msaccess                     
        mdb'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/msword                       
        doc dot'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/mxf                          
        mxf'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/news-message-id'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/news-transmission'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/ocsp-request'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/ocsp-response'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/octet-stream                 
bin'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/oda                          
        oda'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/ogg                          
        ogx'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/parityfec'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Current entry: 'application/pdf                          
        pdf'
-1219426592[b7323270]: -- ParseNormalMIMETypesEntry
-1219426592[b7323270]: Got MIMEInfo from GNOME registry without extensions; 
setting them to pdf
-1219426592[b7323270]: OS gave back 0xa74286a0 - found: 1
-1219426592[b7323270]: Data source: Via type: retval 0x00000000
-1219426592[b7323270]: Extension 'pdf' matches mime info: 1
-1219426592[b7323270]: MIME Info Summary: Type 'application/pdf', Primary Ext 
'pdf'
-1219426592[b7323270]: Type/Ext lookup found 0xa74286a0

Reply via email to