Firefoxmandatoryhomepage
This page is dedicated to setting a mandatory Firefox 2.x homepage for ALL users on an Ubuntu LTSP (Gutsy - Hardy doesn't seem to have firefox-dev yet) server.
- Install firefox-dev to get 'obscure-tool' binary:
sudo apt-get install firefox-dev
- CD to the directory we'll be working in:
cd /usr/lib/firefox
- Create firefox.txt:
sudo vim firefox.txt
- Create the necessary preference entries (in this case, we want to change the start page to google.com and lock this preference so the user cannot change it):
firefox.txt:
//
lockPref("browser.startup.homepage", "http://www.google.com");
- Back up the original firefox.cfg
sudo cp firefox.cfg firefox.cfg.orig
- Create a new firefox.cfg:
sudo /usr/lib/firefox/obscure-tool firefox.txt /usr/lib/firefox/firefox.cfg
URLs:
https://help.ubuntu.com/community/FirefoxMandatoryPreferences
page revision: 2, last edited: 04 Sep 2008 17:59





