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-----

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux