Re: Lock homepage in firefox for normal users?[Scanned]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jacques B. wrote:
>>The paths discussed in that blog entry are for windows, but the
>>information should apply equally well to linux.
>>
>>For the current version of Firefox, the path to put the mozilla.cfg
>>would be /usr/lib/firefox-1.5.0.4.  I just did this and verified that
>>it works.
[...]
> That's good to know, thanks.  How do you determine the path for FF?

I took a guess that the mozilla.cfg file would go the same place that
all.js went.  So I did a locate for that file and confirmed with the
path above (as well as similar paths for other mozilla installs).
Well, I lie, all.js is in the greprefs subdir of the path above.

I created a mozilla.txt as outlined on the site you mentioned and then
used the tool found here[1] to byteshift it and create mozilla.cfg.

And I added the following line to all.js:

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

When I started firefox as a new user I got an error about the
configuration, which was due to the wrong path to mozilla.cfg.  I had
to move it out of greprefs and up a level.  After that, firefox
started properly and used the URL I specified as the home page.

Then I went to Edit->Preferences and the home page text box was grayed
out and unable to be modified.  So the process seemed to work as
advertised.

[1] http://www.alain.knaff.lu/%7Eaknaff/howto/MozillaCustomization/moz-byteshift.pl

- -- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
Our chief defect is that we are more given to talking about things
than to doing them.
    -- Jawaharlal Nehru, Indian statesman (1889-1964)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iG0EARECAC0FAkSt3+QmGGh0dHA6Ly93d3cucG9ib3guY29tL350bXovcGdwL3Rt
ei5hc2MACgkQuv+09NZUB1qDkQCgm5XrU2oYyF0btxHVwF6tlODUqvMAn3vrhLKE
8A5hdMUpJLKYL2GXh2Wu
=kr8j
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux