Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Ky sajt do të funksionojë me kufizime, teksa bëjmë mirëmbajtjen e tij për të përmirësuar punën tuaj. Nëse një artikull nuk e zgjidh problemin tuaj dhe dëshironi të bëni një pyetje, kemi bashkësinë tonë të asistencës, e gatshme për t’ju ndihmuar, te @FirefoxSupport në Twitter dhe/r/firefox në Reddit.

Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

update user profiles on first run of new install

  • 3 përgjigje
  • 4 e kanë hasur këtë problem
  • 12 parje
  • Përgjigjja më e re nga cor-el

more options

After upgrading to a newer version of Firefox (25.0.1) any of the existing user profiles are not getting updated settings...specificly

During the install I have added some new changes for the "default user", if I log start FF as a "new" user (with no profiles under the %appData%\Mozilla folder structure my settings work. But if a profile exists they are not taking effect.

I have moved my Pref Files to:
%ProgramFiles(x86)%\Mozilla Firefox\Browser\defaults\Preferences\local-settings.js
%ProgramFiles(x86)%\Mozilla Firefox\Browser\defaults\profile\secmod.db <<<=== Is not being copied
%ProgramFiles(x86)%\Mozilla Firefox\mozilla.cfg
%ProgramFiles(x86)%\Mozilla Firefox\Browser\override.ini

Mozilla.cfg

//Firefox Default Settings

// set Firefox Default homepage
//pref("browser.startup.homepage","http://www.XXX.YYY");

// disable default browser check
pref("browser.shell.checkDefaultBrowser", false);
pref("browser.startup.homepage_override.mstone", "ignore");

// disable application updates
pref("app.update.enabled", false)

// disables the 'know your rights' button from displaying on first run 
pref("browser.rights.3.shown", true);

// disables the request to send performance data from displaying
pref("toolkit.telemetry.prompted", 2);
pref("toolkit.telemetry.rejected", true);

//Enables SharePoint Single Sign On
pref("network.automatic-ntlm-auth.trusted-uris", "https://portal.XXX.YYY");

Override.ini

[XRE]
EnableProfileMigrator=0

Local-settings.js

pref("general.config.obscure_value", 0);
pref("general.config.filename", "mozilla.cfg");
defaultpref("browser.startup.homepage", "http://dma.XXX.YYY"); 
defaultPref("browser.newtab.url", "about:blank");
lockPref("app.update.auto", false);
lockPref("app.update.enabled", false);
After upgrading to a newer version of Firefox (25.0.1) any of the existing user profiles are not getting updated settings...specificly During the install I have added some new changes for the "default user", if I log start FF as a "new" user (with no profiles under the %appData%\Mozilla folder structure my settings work. But if a profile exists they are not taking effect. I have moved my Pref Files to:<br /> %ProgramFiles(x86)%\Mozilla Firefox\Browser\defaults\Preferences\local-settings.js<br /> %ProgramFiles(x86)%\Mozilla Firefox\Browser\defaults\profile\secmod.db <<<=== Is not being copied<br /> %ProgramFiles(x86)%\Mozilla Firefox\mozilla.cfg<br /> %ProgramFiles(x86)%\Mozilla Firefox\Browser\override.ini Mozilla.cfg <pre><nowiki>//Firefox Default Settings // set Firefox Default homepage //pref("browser.startup.homepage","http://www.XXX.YYY"); // disable default browser check pref("browser.shell.checkDefaultBrowser", false); pref("browser.startup.homepage_override.mstone", "ignore"); // disable application updates pref("app.update.enabled", false) // disables the 'know your rights' button from displaying on first run pref("browser.rights.3.shown", true); // disables the request to send performance data from displaying pref("toolkit.telemetry.prompted", 2); pref("toolkit.telemetry.rejected", true); //Enables SharePoint Single Sign On pref("network.automatic-ntlm-auth.trusted-uris", "https://portal.XXX.YYY"); </nowiki></pre> Override.ini <pre><nowiki>[XRE] EnableProfileMigrator=0</nowiki></pre> Local-settings.js <pre><nowiki>pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg"); </nowiki></pre> defaultpref("browser.startup.homepage", "http://dma.XXX.YYY"); defaultPref("browser.newtab.url", "about:blank"); lockPref("app.update.auto", false); lockPref("app.update.enabled", false);

Ndryshuar nga cor-el

Krejt Përgjigjet (3)

more options

Go to the Firefox tab in the far left corner and go to sync. It should get you all set up there.

more options

While this is great for one user I have hundreds that will potentially need this, I was hoping for something more "programmatic"

ie something I can put in one of the Prefs files!

more options

The local-settings.js file should be in defaults/pref and the file should only contain the two lines to specify the mozilla.cfg file.
Make sure to use the proper case for files and folders and pref function names.
The file shouldn't contain the last 4 defaultPref() and lockPref() calls (note that defaultpref() has the wrong case).

pref("general.config.obscure_value", 0);
pref("general.config.filename", "mozilla.cfg");

I don't know why initializing a new profile (secmode.db) isn't working if that is what is happening.
You can make changes to existing profile this way.
You can only change prefs for existing profiles with pref() calls in mozilla.cfg.

You can initialize a profile by creating a browser\defaults\profile folder in the Firefox program folder (C:\Program Files\Mozilla Firefox\) and place files like a user.js or a bookmarks.html file in it.
You can create a defaults\preferences folder to initialize prefs.