We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

mimitypes not working on other profiles

  • 3 antwurd
  • 1 hat dit probleem
  • 1 werjefte
  • Lêste antwurd fan bazzard112

more options

Hi,

I have a question regarding the usage of the mimeTypes.rdf file which stores the actions Firefox has to execute when clicking / download a particular file. In this case I want to link an action when opening a PDF file and I want to use the Acrobat reader (in Firefox) (with the option Firefox renders the file in the browser instead of downloading the and opening it in the Acrobat application.

Now, when I set this for one user, this is working fine, but I'm the administrator of a Terminal server and I want to set this for all users. So what I did: On profile A I configured the correct settings and copied the file mimeTypes.rdf. I made a script which runs a logon and places the mimeTypes.rdf of Profile A to the correct place in the users profile (which is working great) Now the problem is that all settings are changed to: Adobe Acrobat (default) instead of Adobe Acrobat (in Firefox). Off course all paths to Adobe are the same since we are working on a Terminal server.

System environment: Windows server 2012 R2 Terminal server. Firefox 30.0

Hi, I have a question regarding the usage of the mimeTypes.rdf file which stores the actions Firefox has to execute when clicking / download a particular file. In this case I want to link an action when opening a PDF file and I want to use the Acrobat reader (in Firefox) (with the option Firefox renders the file in the browser instead of downloading the and opening it in the Acrobat application. Now, when I set this for one user, this is working fine, but I'm the administrator of a Terminal server and I want to set this for all users. So what I did: On profile A I configured the correct settings and copied the file mimeTypes.rdf. I made a script which runs a logon and places the mimeTypes.rdf of Profile A to the correct place in the users profile (which is working great) Now the problem is that all settings are changed to: Adobe Acrobat (default) instead of Adobe Acrobat (in Firefox). Off course all paths to Adobe are the same since we are working on a Terminal server. System environment: Windows server 2012 R2 Terminal server. Firefox 30.0

Keazen oplossing

Could you also compare prefs.js between the two profiles? Since the built-in PDF viewer is a feature of the program, there might be a corresponding change to one or more preferences when you switch to a plugin.

Dit antwurd yn kontekst lêze 👍 2

Alle antwurden (3)

more options

On profile A I configured the correct settings and copied the file mimeTypes.rdf. ----> do these settings include the default preferences?

Mimetypes set the default program to open up afaik, but if Firefox is open the applicaiton will not load the changed file. Since it is replacing successfully, if you restart one of the computer's that the changes are being applied to, do you see the default change?

more options

Keazen oplossing

Could you also compare prefs.js between the two profiles? Since the built-in PDF viewer is a feature of the program, there might be a corresponding change to one or more preferences when you switch to a plugin.

more options

Sorry for the late reply.

jscher2000 thanks for the tip, I added the prefs.js to the profiles and now it's working!

Thank you.

By the way, this is the script I used:

@echo off SET "SEARCH=%appdata%" SET "BESTAND=mimeTypes.rdf" for /f %%F in ('dir /s %SEARCH%\%BESTAND% /s /b') do set p=%%~dpF copy \\ad\netlogon\firefox_latest\mimeTypes.rdf %p% /Y copy \\ad\netlogon\firefox_latest\prefs.js %p% /Y