Subject: | |
From: | |
Reply To: | |
Date: | Tue, 17 Jun 2008 17:43:52 +0100 |
Content-Type: | TEXT/PLAIN |
Parts/Attachments: |
|
|
On Mon, 16 Jun 2008, Stephan Wiesand wrote:
> Hi All,
>
> Any ideas how to lock preference settings with ff3?
>
> We used to do this as explained in http://kb.mozillazine.org/Lock_Prefs .
> With the firefox3 from 5.2 this no longer works :-(
>
> It seems the .js file defining the name of the .cfg now has to be placed in
> /usr/lib/xulrunner-<version>/greprefs instead of /usr/lib/firefox-<version> .
>
> But I can't find the right place for the .cfg. It's no longer
> /usr/lib/firefox-<version>, and no, it's not /usr/lib/xulrunner-<version>
> either.
>
> Any ideas?
>
> Any suggestions for a stable browser that's not only usable on a single
> user's personal system?
According to https://bugzilla.mozilla.org/show_bug.cgi?id=427927 the
config loading is just broken in 3.0betaN but should be fixed in rc1 (and
I hope the real release etc).
Since TUV happened to ship beta5 we are stuck until they choose to update
it to something newer. Since mozilla-3.0 is due to be released *today*
(at 17:00 UCT according to http://developer.mozilla.org/devnews/), I'd
expect that TUV will be releasing new versions really soon...
Like you we can't update to 3.0 until we have a version which works with
the autoconfig stuff.
BTW for earlier versions we do it by just adding new .js files
(all-damtp.js) into the various directories which define the config file
to load:
$ find /usr/lib/firefox* -name '*all*.js'
/usr/lib/firefox-1.5.0.12/greprefs/all.js
/usr/lib/firefox-1.5.0.12/greprefs/all-damtp.js
/usr/lib/firefox-1.5.0.12/greprefs/xpinstall.js
/usr/lib/firefox-1.5.0.12/greprefs/all-redhat.js
/usr/lib/firefox-1.5.0.12/defaults/autoconfig/prefcalls.js
/usr/lib/firefox-1.5.0.12/defaults/pref/all-damtp.js
/usr/lib/firefox-1.5.0.12/defaults/pref/all-redhat.js
where our all-damtp.js contains:
// Set the config file to load
pref("general.config.obscure_value", 0); // for MCD .cfg files
pref("general.config.filename", "damtp.cfg");
(and that also sets the default browser home page from
browserconfig.properties)
--
Jon Peatfield, Computer Officer, DAMTP, University of Cambridge
Mail: [log in to unmask] Web: http://www.damtp.cam.ac.uk/
|
|
|