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!

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

mimitypes not working on other profiles

  • 3 Antworten
  • 1 hat dieses Problem
  • 1 Aufruf
  • Letzte Antwort von 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

Ausgewählte Lösung

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.

Diese Antwort im Kontext lesen 👍 2

Alle Antworten (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

Ausgewählte Lösung

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