Овај сајт ће имати ограничену функционалност док га будемо ажурирали у циљу побољшања вашег искуства. Ако неки чланак не реши ваш проблем и желите да поставите питање, на располагању ће вам бити наше заједнице подршке @FirefoxSupport на Twitter-у и /r/firefox на Reddit-у.

Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

mimitypes not working on other profiles

  • 3 одговорa
  • 1 има овај проблем
  • 1 преглед
  • Последњи одговор послао 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

Изабрано решење

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.

Прочитајте овај одговор са објашњењем 👍 2

Сви одговори (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

Одабрано решење

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