On 6/29/10, NoOp <[email protected]> wrote: > On 06/27/2010 10:57 AM, Jens Hatlak wrote: >> Paul wrote: >>> According to the OP on 6-26-10: >>> >>> SeaMonkey doesn't give me the option to automatically save certain >>> file types - the latest example being >>> http://www.cacetech.com/sharkfest.09/DT5_Varenni_WinPcapDosDonts.pptx >>>(...) >>> and the 'Do this automatically for files like this from now on.' line >>> is greyed out. >> >> SeaMonkey stores download associations per MIME type. The problem with >> the download from the address above is that it is delivered with MIME >> type text/plain. That is, like application/octet-stream, too generic to >> be stored. You wouldn't want any text file to be opened with the program >> you choose for this .pptx file, right? > > Even though the server is presenting as text/plain: > HTTP/1.1 200 OK > Date: Tue, 29 Jun 2010 03:31:35 GMT > Server: Apache > Vary: * > Cache-Control: max-age=86400 > Expires: Wed, 30 Jun 2010 03:31:35 GMT > Last-Modified: Fri, 12 Jun 2009 19:16:45 GMT > Accept-Ranges: bytes > Content-Length: 510046 > Connection: close > Content-Type: text/plain > > SeaMonkey should/will pick up the mime type if the file extention type > has been previously identified on the system (see below).
So what you're saying is that if I can figure out the proper way to get .pptx files associated? pointing to? the correct mime type then SeaMonkey will allow me to 'Do this automatically for files like this from now on.' - correct? ===== late edit== answering my own q: correct. >> The only way how to solve this issue is by fixing the source, i.e. the >> web server that delivers that file (cacetech.com). > > I disagree, see below. > >> >> You can find out about these issues by either using the Live HTTP >> Headers extension or using the wget command line tool (available by >> default on most Linux machines) with the -S parameter. > > Actually it's an Microsoft Office 2007 openxml powerpoint format (as > Phillip pointed out). Also see: > > http://filext.com/file-extension/PPTX > > On linux SeaMonkey (and Firefox) use /etc/mime.types: > about:config > helpers.global_mime_types_file;/etc/mime.types > When I click on that url, I am offered the option of opening with > OpenOffice.org (my default), Saving, and Do this automatically.... > > My /etc/mime.types shows: > application/vnd.openxmlformats-officedocument.presentationml.presentation > pptx > > In Win7 SeaMonkey also uses the default system mime type. Where they are > located on Win 7/Vista I do not know as I only boot into Windows for > testing purposes. I'm guessing HKEY_CLASSES_ROOT\MIME\Database\Content Type > If I click on the url I am presented with the option to use 'Microsoft > Open XML Converter (default)'. If I change the system default to use > OpenOffice.org, I am then presented with that instead of the MS > converter. In this instance, I am also offered to Open, Save, Do this > automatically... Same as if I click on the url in FireFox 3.6.4. > > In the OP's case, I suspect that the problem is that he doesn't have > .pptx file extension defined in his system. It's defined enough so that double-clicking a .pptx file in explorer automatically launches Open Office to load the file. > Note: all above are w/SM 2.0.5. Both linux & Win7 open the file w/o > issue, and both offer the option to 'Do this automatically...'. > > Also tested on Win2KPro SM 2.0.4 (offers to open, and does, in > OpenOffice.org (my defaults). However in this case, SM greys out 'Do > this automatically...', probably because Win2KPro has no MSO for pptx MSO = what? > and doesn't understand pptx w/OOo. So to see if 2.0.5 makes a > difference, I'll upgrade & test. Oh wait... I see that SeaMonkey isn't > giving me a choice and is instead downloading 2.0.5 all by itself (this > *really* needs to change as default). Nope, no change; SM still has 'Do > this automatically...' greyed out. And, going to > Edit|Preferences|Browser|Helper Applications shows no entries for > microsoft, powerpoint, openoffice, ppt, etc. mimetype.rdf shows no > related entries either. > > Question for Lee: > What happens when you save the .pptx file and then open via Windows > Explorer? What is the default application that opens the file for you? Open Office - the same program SM offers to open it with in the open or save dialog popup. !! This is interesting - try my work laptop that has both Office 2007 & SeaMonkey installed and SM gives me the option to 'do this automatically ...' for the original problem link of http://www.cacetech.com/sharkfest.09/DT5_Varenni_WinPcapDosDonts.pptx hrmm ... ... ... and the answer is I added this bit to the registry of my home PC (Windows Vista): ============ cut here ================== Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.pptx] "Content Type"="application/vnd.openxmlformats-officedocument.presentationml.presentation" [HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.openxmlformats-officedocument.presentationml.presentation] "Extension"=".pptx" ============ cut here ================== And now I can put a checkmark in the 'Do this automatically for files like this from now on.' box and .pptx files are always saved :) Thank you!!! Lee
_______________________________________________ support-seamonkey mailing list [email protected] https://lists.mozilla.org/listinfo/support-seamonkey

