Question: How to set default homepage for all firefox users?

Posted by dmonty on Tue 3 Oct 2006 at 09:06

We are distributing Debian and Mozill Firefox on all the machines in our school, but are having problems setting up the browser homepage automatically.

Without changing the .desktop file launch script, how do I change the default homepage for all users in the school? (If we just change the launch script then the "Home" button would still be broken.)

On a fresh user install the browser starts up with a blank white page.

about:config shows:
browser.startup.homepage  resource:/browserconfig.properties

If I type in this url resource:/browserconfig.properties I get a "File Not Found" error.

Some schools may want their browsers setup so that the students are not able to change their default start page, whilst others might want to allow that.

So I have two questions:

A possible answer to the first question is to create the file /usr/lib/firefox/browserconfig.properties with the following contents:

browser.startup.homepage=http://mysite.com/
browser.startup.homepage_reset=http://mysite.com/

But that still allows the users to change their homepage.


This article can be found online at the Debian Administration website at the following bookmarkable URL:

This article is copyright 2006 dmonty - please ask for permission to republish or translate.