We're publishing Firefox through Citrix which works correctly. We want to set a few settings that are locked and some that are set as initial preferences. When creating t… (read more)
We're publishing Firefox through Citrix which works correctly. We want to set a few settings that are locked and some that are set as initial preferences. When creating the mozilla.cfg with minimal settings that are locked, everything works correctly. When using additional settings that are not locked we get the "Failed to read the configuration file" error. We've tried to remove some of the settings to make is as basic as possible and still get the message.
Working cfg
# Mozilla Global Preferences
/* This file is to set and lock default preferences.
*
* Locate the settings in the prefs.js you want to make global and
* copy them here. To lock the setting change the user_Pref to
* lockPref.
*/
//
lockPref("browser.startup.homepage", "http://intranet.domain.com");
lockPref("network.automatic-ntlm-auth.trusted-uris", "proxy,domain");
lockPref("network.negotiate-auth.delegation-uris", "proxy");
lockPref("network.negotiate-auth.trusted-uris", "proxy");
Desired cfg
# Mozilla Global Preferences
/* This file is to set and lock default preferences.
*
* Locate the settings in the prefs.js you want to make global and
* copy them here. To lock the setting change the user_Pref to
* lockPref.
*/
//
user_Pref("accessibility.typeaheadfind.flashBar", 0);
lockPref("app.update.auto", false); //disable automatic update
lockPref("app.update.enabled", false); //disable updating Firefox
lockPref("browser.bookmarks.restore_default_bookmarks", false);
user_Pref("browser.cache.disk.capacity", 1048576);
user_Pref("browser.cache.disk.smart_size.first_run", false);
user_Pref("browser.cache.disk.smart_size_cached_value", 1048576);
user_Pref("browser.download.useDownloadDir", false);
lockPref("browser.feeds.showFirstRunUI", false); //disable initial RSS intro
lockPref("browser.fullscreen.autohide", false); //always show URL and tab bar
lockPref("browser.history_expire_days", 30); //clear history after 30 days
lockPref("browser.history_expire_days_min", 30); //minimum 30 days to keep history
user_Pref("browser.places.importBookmarksHTML", false);
user_Pref("browser.places.importDefaults", false);
lockPref("browser.rights.3.shown", true);
user_Pref("browser.search.suggest.enabled", true); //disable search suggestions
lockPref("browser.shell.checkDefaultBrowser", false); //disable default browser check
user_Pref("browser.startup.page", 1);
lockPref("browser.startup.homepage", "http://intranet.domain.com");
user_Pref("browser.tabs.autoHide", false); //always show tab bar
user_Pref("browser.tabs.insertRelatedAfterCurrent", false); //load new tabs last
user_Pref("browser.tabs.loadBookmarksInBackground", true); //new tabs in backg.
user_Pref("browser.tabs.warnOnOpen", false); //don't warn on opening mult. tabs
lockPref("browser.taskbar.previews.enable", true);
user_Pref("browser.urlbar.autoFill", true); //enable URL autocomplete
lockPref("general.smoothScroll", true);
lockPref("general.warnOnAboutConfig", true); //display warning prompt
user_Pref("mozilla.widget.raise-on-setfocus"); //disable focus stealing
user_Pref("mozilla.widget.raise-on-setfocus", false); //don't focus new tabs
lockPref("network.automatic-ntlm-auth.trusted-uris", "proxy,domain");
lockPref("network.cookie.lifetimePolicy", 2);
lockPref("network.cookie.prefsMigrated", true);
lockPref("network.negotiate-auth.delegation-uris", "proxy");
lockPref("network.negotiate-auth.trusted-uris", "proxy");
user_Pref("network.http.max-connections-per-server", 32);
user_Pref("network.http.pipelining", true); //enable HTTP pipelining
user_Pref("network.http.pipelining.maxrequests", 7);
user_Pref("network.http.pipelining.ssl", true); //always enable HTTPS pipelining
user_Pref("network.http.proxy.pipelining", true); //enable HTTP pipelining
lockPref("network.proxy.type", 4);
user_Pref("privacy.donottrackheader.enabled", true);
lockPref("privacy.item.formdata", true); //clear saved form data
lockPref("privacy.item.offlineApps", true); //clear offline apps data
user_Pref("privacy.sanitize.migrateFx3Prefs", true);
user_Pref("security.warn_viewing_mixed", true);
user_Pref("security.warn_entering_secure", false);
user_Pref("security.warn_leaving_secure", true);
user_Pref("security.warn_submit_insecure", true);
lockPref("signon.rememberSignons", false);
lockPref("toolkit.telemetry.prompted", false);
user_Pref("view_source.wrap_long_lines", true); //enable line wrapping