How does firefox create the default mimetypes.rdf file?

Hi, I am trying to update the default mimetypes.rdf file to add a list of new file types and the associated program to launch with but am struggling to find where/how the default mimetypes.rdf file is created.
The Omni.ja file within 'C:\Program Files\Mozilla Firefox' has a version of the file but it is blank, what populates this file?
I have tried replacing this file with the version we need to use, delete the Mozilla directory from my local profile and re-launch Firefox, but the newly generated mimetypes.rdf file is still the old version.
I am using Firefox version 10.0.6

Hi,
I am in the same situation than you but I forced firefox to take my own file if I remove it from my profile.
What i did:
1 Create my own custom mimetypes.rdf file. Firefox Interface - Options - Options - Applications...
2 Copy mimetypes.rdf in C:\Program Files (x86)\Mozilla Firefox\browser\Defaults\profile
So, if I remove the mimetypes.rdf file from my profile it takes from default location fine. However deleting the profile, opening firefox again it doesn´t use my own mymtypes.rdf file in the new profile, insteant it creates the "default installation" one.
On the other hand, I tried to set pdfjs.disabled = true from about:config, however although it sets the default PDF app "Adobe Acrobat", it doesn´t work. It doesn´t open any pdf file.
I am thinking to create an advertised shortcut in order to replace the mimetype.rdf when the user starts firefox (I distribute the firefox settings in a MSI) depending of the date of the file but it will take a few seconds each time the user run firefox. I really don´t like it...
Sorry for don´t help too much...
If anyone could post how firefox create mimetypes.rdf in new profiles...

Similar Messages

  • Where does FireFox get the default value of a preference from. What is the format of the file that has the default value?

    Where does FireFox get the default value of a preference from. What is the format of the file that has the default value?. I need the actual default value for a particualr preference.
    About:config does show some default values but I need the source from which about:config picks up the default value.
    Any help in this direction is greatly appreciated.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    The prefs that aren't hidden if they are the default are stored in two JavaScript text files in the Firefox program folder
    You can open them via these links in a Firefox tab:
    <code>resource:///defaults/pref/firefox.js
    resource:///greprefs/all.js
    </code>
    ([/forum/1/702598])

  • How do I set the default folder for file - open file... ?

    When I save a file, photo, etc., the default folder for OPENING a file becomes the last folder I SAVED to - even after closing and reopening Firefox. Is there a way to maintain the same default folder for opening files?
    Thanks.

    Originally posted by: kwarner.uneedspeed.net
    Well... I found over 200 bugs none of which seemed to talk about setting
    the default folder. I probably missed the relevant bug in the spew.
    I ask a question here as a last resort -- after I've done what I think
    is an appropriate search for answers.
    But thanks for your help in any case.
    Daniel Megert wrote:
    > DemonDuck wrote:
    >
    >> When I need to open a file not in the workspace, I use File -> Open File.
    >>
    >> But the default folder it opens is in C:\Documents and
    >> Setting\Administrator
    >>
    >> I would like File -> Open File to first open in someplace more
    >> reasonable -- like the workspace.
    >>
    >> How do I set the default folder for File -> Open File ????
    >
    >
    > Is your '?' key broken? Check bugzilla there's a feature request
    > regarding your question.
    >
    > Dani

  • How to give a profile a default mimetypes.rdf file?

    Hello,
    I'm deploying Mozilla Firefox 31ESR on thousands of computers. I'm looking for a way to pre-configure how firefox handle the mimetypes. For instance, to open pdf with Adobe Acrobat Reader.
    To achieve this, I put a mimetypes.rdf file in "C:\Program Files (x86)\Mozilla Firefox\browser\defaults\profile".
    When the profile is created, this file is copied, then modified.
    The lines:
    <RDF:Description RDF:about="urn:mimetype:handler:application/pdf"
    NC:useSystemDefault="true"
    NC:alwaysAsk="false" />
    Becomes:
    <RDF:Description RDF:about="urn:mimetype:handler:application/pdf"
    NC:handleInternal="true"
    NC:alwaysAsk="false" />
    -If I replace manually the file "mimeTypes.rdf" in the newly created profile, it works perfectly.
    It seems to be the same problem as: https://support.mozilla.org/fr/questions/1015378
    Why is the mimetypes.rdf file modified? How can I set a mimetype policy?
    Thanks a lot!

    It works for me with both the user.js file and your mimeTypes.rdf file.
    <pre><nowiki>user_pref("pdfjs.disabled", true);
    user_pref("plugin.state.nppdf", 2);
    </nowiki></pre>
    <pre><nowiki><?xml version="1.0"?>
    <RDF:RDF xmlns:NC="http://home.netscape.com/NC-rdf#"
    xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
    <RDF:Description RDF:about="urn:mimetype:handler:application/pdf"
    NC:alwaysAsk="true"
    NC:saveToDisk="true">
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/pdf"/>
    </RDF:Description>
    </RDF:RDF>
    </nowiki></pre>

  • How can I change the default "Print to File" location from the Mozilla Firefox directory?

    I have looked all over the Internet to find the solution to change the default of the location Firefox create the files created from the Print to File option. I have modified all of the instances of "print_to_filename" as one forum suggested. But, that was unsuccessful.

    Autre façon : Ouvre un nouveau document. Il va être en A4. Dans le menu Fichier--->Format d'impression. Une fenêtre apparaît. Dans la ligne... Taille du papier, tu choisis... Lettre US; tu fais OK. Ensuite tu sauves ce document comme modèle. Menu Fichier----> Enregistrer comme modèle et tu lui donnes le nom, par exemple... USLettre.
    Ensuite, va dans le menu Pages, va dans préférences et dans la fenêtre qui s'ouvre - Préférences générales - tu choisis : Utiliser le modèle... et tu cliques sur Choisir... à droite un peu en bas de Utiliser le.... et là, dans la fenêtre qui va apparaître, tu trouves le modèle que tu viens de faire...USLettre.
    Voilà. Chaque fois que tu vas ouvrir Pages, ce sera USLettre qui sera là par défaut.
    J'espère que ça va te satisfaire.
    Évidemment l'idéal serait de pouvoir changer la template Vierge par une template Vierge US... mais j'ai pas encore réussi.
    Message was edited by: BenwaR

  • How can I change the default location of files?

    I have just changed the location of "My documents" in Windows to point to a separate drive (in fact "e:\mydocs"). Now Flex Builder 3 can't see my projects. If I import them it wants to copy them back to "c:\documents and settings\administrator\Flex Builder 3". So I have 2 questions - firstly is it possible to alter something so that it sees my projects in the right place automatically. Secondly how can I change the default location?
    Thanks

    sorry folks, just found the answer - File-Switch Workspace

  • How do you change the default permissions for files?

    I have all my users saving (via AFP) to an Xserve RAID, I am using ACL to control who has access to certain area.
    This is fine when moving files in the finder, all ACL are respected, however when saving files from Photoshop it ignores the ACL's.
    So if user A saves a file they become the owner- which is fine, but the group and everyone permissions are read only, so when user B ammends the file they get a permission warning when they try to save, the work round I'm using is to trash the file just before you try to save- not ideal cos if the save fails you've lost the work.
    What I would like is for the default permission to be group "design" Read and Write and leave everyone as read only
    So when any designer goes to oversave a file in photoshop they can do.
    I needf to leave ACL's on as they are working well in every other situation, i.e I have certain folders set so once images have been added they cannot be deleted or renamed by certain users.
    It only seems to be Photoshop that gives us this problem, Quark files and other docs are able to be saved according to the ACL

    Hi
    There are some important distinctions and points to be made here.
    POSIX Permissions are always set for every file and folder. ACLs are optional for any file, folder or share point and work IN ADDITION to POSIX Permissions. SACLs (Service Access Control Lists) are optional for specific services such as AFP, FTP, SMB, Mail etc and are independent of files and folder as well of standard POSIX Permissions and file system ACLs. Allow access is cumulative and Deny access is first match.
    ACLs supersede but don’t necessarily override Standard UNIX permissions.
    The best way to use ACLs is to enable Access Control Lists on the desired volume, create the share point folder from within Workgroup Manager, define the Users and Groups and then drop the relevant User and/or Group into the ACL window and define access privileges from there. Don’t be tempted to use the Standard UNIX permissions in addition to ACLs as all sorts of problems can ensue.
    Privileges and access can quickly get confused and share points can be broken. Deny settings defined in ACL take precedence over all other privileges settings. Deny settings defined using Standard UNIX as well as ACLs can, in some cases, mean share points becoming inaccessible to all users even those with administrative privileges.
    Wherever possible try not to set access privileges using the Finder.
    For a much fuller explanation and a method for calculating umask values consult Gerrit de Witt’s series of articles:
    http://discussions.apple.com/thread.jspa?messageID=648307&#648307

  • How does one create the Process List (AdminUI) with the provided SDK API?

    Currently we are developing a custom component for Adobe LiveCycle, which should offer the following service operation:
    Fetch a list of schedulers (= long-lived processes with that loop with a Wait-operation) and check whether there are instances running for them
    Input: none
    Output: A list of (long-lived) process definitions together with a list of (running) process instances in XMLXML format could look like:
    <processes>
         <process>
              <name>Mortage/Util/Scheduler A</name>
              <application>Mortage</application>
              <status>Active</status>
              <creationDate>2015-03-25T13:00</creationDate>
              <processInstances>
                   <processInstance>
                        <id>12314</id>
                        <status>RUNNING</status>
                        <createdOn>2015-03-25T13:01</createdOn>
                        <modifiedOn>2015-03-25T13:02</modifiedOn>
                        <operations>
                             <operation>
                                  <name>Set Value X</name>
                                  <status>COMPLETE</status>
                                  <createdOn>2015-03-25T13:01</createdOn>
                                  <completedOn>2015-03-25T13:01</completedOn>
                             </operation>
                             <operation>
                                  <name>Set Value X</name>
                                  <status>STALLED</status>
                                  <createdOn>2015-03-25T13:02</createdOn>
                                  <completedOn>2015-03-25T13:02</completedOn>
                             </operation>
                        </operations>
                   </processInstance>
                   <processInstance>
                        <id>12315</id>
                        <status>RUNNING</status>
                        <createdOn>2015-03-25T13:02</createdOn>
                        <modifiedOn>2015-03-25T13:02</modifiedOn>
                        <operations>
                             <operation>
                                  <name>Set Value X</name>
                                  <status>COMPLETE</status>
                                  <createdOn>2015-03-25T13:02</createdOn>
                                  <completedOn>2015-03-25T13:02</completedOn>
                             </operation>
                             <operation>
                                  <name>Set Value X</name>
                                  <status>RUNNING</status>
                                  <createdOn>2015-03-25T13:02</createdOn>
                                  <completedOn></completedOn>
                             </operation>
                        </operations>
                   </processInstance>
              </processInstances>
         </process>
         <process>
              <name>Mortage/Util/Scheduler B</name>
              <application>Mortage</application>
              <status>Active</status>
              <creationDate>2015-03-25T13:00</creationDate>
              <processInstances/>
         </process>
    </processes>
    Though I'm unable to retrieve these kind of processes, since the SDK API does not offer a way to fetch these kind of processes.
    I tried the following Quick Start: http://help.adobe.com/en_US/livecycle/10.0/ProgramLC/WS624e3cba99b79e12e69a9941333732bac8- 7d27.html
    Quick Start (EJB mode): Searching for Process Instances using the Java API
    (and yes I went through all the possible options (other Quick Starts, API documentation))

    Yes, removing the block diagram obscures the code so much that not even newer versions of LabVIEW can make sense of it.
    I think under the hood it must be converting it to Perl.
    Spoiler (Highlight to read)
    If you believe this and have lots of money please contact me with your credit card info 
    If you believe this and have lots of money please contact me with your credit card info 
    =====================
    LabVIEW 2012

  • How does one change the default iMessage font?

    from Helvetica 12 to anything else other than going to format>show fonts which seems to only temporarily alter the font?

    Hi,
    You cannot access the two settings indicated ?
    The Font Option allows choice of Font
    You can colour the "Balloons" as in my Pic and you can also colour the Font.
    I am trying to think of any reason why you may not be able to change but cannot think of any.
    Possibles
    Parental Controls does exclude you from changing some things in the Preferences (mostly in the Accounts pane and Privacy for AIM names).
    If you did not own the .plist this info is kept in there might be issues but I cannot say I have seen them before.
    8:36 PM      Monday; October 22, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How does firefox know to fill in my credit card details in a webpage? i don't like it to keep them on file.

    how does firefox know the details of my credit card to fill in a web form.? how can I prevent firefox from keeping a copy of my credit card numbers?
    == This happened ==
    Not sure how often
    == i previously filled in the same web page a month ago.

    See [[Form autocomplete]]
    http://kb.mozillazine.org/Deleting_autocomplete_entries

  • I'm using bridge cc2014 on my mac and when I go to open photos, it opens on PS6 even though I have PS CC.  How do I change the default?

    I'm using bridge cc2014 on my mac and when I go to open photos, it opens on PS6 even though I have PS CC.  How do I change the default?

    Change File Associations in Mac OS X

  • Create the original prov.xml file for Provisioning Toolkit Enterprise?

    How do you create the original prov.xml file to be used with Provisioning Toolkit Enterprise? This is for use to resovle the issue with Creative Cloud Enterprise deployments serialization breaking during imaging. Several people indicated to try and reserialize with PTE. 

    Hi msdavidson,
    Please follow this KB article for Adobe Provisioning Toolkit.
    http://helpx.adobe.com/creative-cloud/packager/provisioning-toolkit-enterprise.html
    Hope it answers your query.
    Regards,
    Abhijit

  • When I opt to "download this as a file" from my email account, Firefox defaults to notepad to open the file. How can I change the default to MS Word?

    Question
    When I opt to "download this as a file" from my email account, Firefox defaults to notepad to open the file. How can I change the default to MS Word?

    Is FF downloading the file as a .txt file? If so, go to "Folder Options" in the windows control panel. Click on the "File Types" tab. Scroll down until you reach the TXT file extension. Look to see what that extension opens with (lower part of panel). It probably shows notepad. Click on the <Change> button. Scroll down until you find "Microsoft Word." Select it and click the <OK> button. That should show the TXT extension is now associated with Microsoft Word. Click the <Close> button at the bottom of the panel.
    If FF is downloading the file as any other type, use the same process as above except look for the corresponding extension instead. If the extension is not listed click on the <New> button and create an association using the extension in the file name and then associate it with MS Word.
    davewdan

  • How can I set the default home page in Firefox 4 for all users that login to a PC on a Win 7 PC?

    I work at a community college in upstate NY.
    We use Firefox as the default browser at our institution and we have always set the default homepage to be our homepage for all users that login to the PC. We had a procedure to to that that worked with Windows XP and FF 3 or earlier
    We would do the following:
    1. go to: c:\Documents and Settings\Administrator\Application Data\Mozilla\FireFox\Profiles\<profile_name>\prefs.js
    2. Add the line: user_pref (“browser.startup.homepage”,”http://www.genesee.edu”);
    3. Copy the Folder
    C:\Documents & Settings\Administrator\Application Data\Mozilla
    To
    C:\Documents & Settings\Default User\Application Data\Mozilla
    4. Restart the computer
    We're going to Win 7 and Firefox 4 and things seem to be different in terms of files and file structure. Does anyone know how to accomplish this?
    Thanks in advance.

    Making customisation from the default profile is generally considered poor practice and quite often doesn't work out as planned. (If you're interested in some more information on this, [http://mockbox.net/windows-7/227-customise-windows-7-default-profile.html see here] see here)
    This article should help you with developing and deploying your customised Firefox 4 installation (without touching the Windows 7 default user profile):
    http://mockbox.net/configmgr-sccm/174-install-and-configure-firefox-silently.html

  • When I click a link in email client (apple mail), it does not open in firefox. I have checked both Firefox and Safari and Firefox is the default browser.

    When clicking a link in either apple mail or even from a word document, nothing happens.

    Try to redo the default browser and make another browser like Safari the default and then let Firefox do it again.
    See:
    * [[How to make Firefox the default browser]]
    * [[Setting Firefox as the default browser does not work]]
    * http://kb.mozillazine.org/Default_browser

Maybe you are looking for

  • How do I use AT-A2150 board with LV 5.1 ?

    Hi, I'm trying to find a way of using my old AT-A2150 board with labview 5.1. I followed some posting tips from NI knowledgeBase (1JACI8U3 and 1JO8TB2O ) and installed NI-DAQ 4.9. The only problem is that now I'm getting broken arrows on my DAQ VIs.

  • How do I get a tiff to open in camera raw?

    I am using PS CS6 with no updates pending on a 64 bit Windows 7 PC. I can see that camera raw is installed in About Plugins. I have looked at sevaral manuals and on-line help. I have control clicked, right clicked, control right clicked, control r cl

  • Can't find photo option under iCloud settings.

    I recently updated my software to 8.1.1 and now when I look under iCloud settings, there is no longer a photo option. Any idea why?Can't

  • How client will give WSDL File to PI

    Hi, My scenario is webservice to SAP and using SAP 7.1. I have following doubts.Request you to clarify on this. 1.The way client is going to provide WSDL to PI 7.1. I know that they will be giving WSDL by sending mail,giving URL. and i would like to

  • Virt-manager - Unable to connect to libvirt

    Unable to connect to libvirt: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Verbindungsaufbau abgelehnt Verify that: - The 'libvirtd' daemon has been started kvm, kvm-intel and libvirtd are started. did i forget anything? Last edited b