Firefox caching to NFS mounted home directories killing disk IO on file server

Donaldson Jeffrey jdonaldson at
Thu Nov 17 12:53:14 UTC 2011


Thank you for the reply. I extracted the omni.jar with jar -x -f 
omni.jar in the /usr/lib/firefox-7.0.1 directory. This created the 
grepref.js file. I edited that file to comment out the config.obscure 
value with // and then added at the end of the file the 
pref("general.config.filename", "firefox.cfg"); then wrote the changes. 
Next, I ran jar -f omni.jar -u grepref.js. Finally, I deleted the 
.mozilla file from a student's home directory and launched firefox 
against their account. Firefox came up okay (although no homepage) but I 
checked about:cache and about:config and it still isn't pulling the 
locked prefs from the firefox.cfg file in /usr/lib/firefox-7.0.1/. Not 
sure what else to try. Any help is appreciated.


On 11/17/2011 03:14 AM, Emmanuel Le Normand wrote:
> Hi,
> On Wed, 16 Nov 2011 21:34:55 +0000
> Jeff Donaldson<jdonaldson at>  wrote:
>> Okay, I added the local-settings.js. Firefox launches correctly, but
>> it still isn't pulling the correct settings. It is pulling user
>> preferences
>> from /home/username/.mozilla/firefox/user.default/user.prefs. Is
>> there a way to tell it to override user preferences and only use the
>> config file specified?
> For LockPref in Firefox 7,  you need extract ,in «firefox-file», the
> omni.jar (jar -x -f omni.jar). In the «grepref.js» you can add the line:
> pref("general.config.filename", "firefox.cfg");
> And for your information, you can add just «//» before the line :
> //pref("general.config.obscure_value"....
> For update the omni.jar use:
> jar -f omni.jar -u grepref.js
> And add your firefox.cfg in the firefox's folder.
> Bye
> Manu

Jeff Donaldson
Data Services Manager
Newark Charter School
(302) 369-2001 ext:425
jdonaldson at

More information about the edubuntu-users mailing list