how to set default "home page" for all users in firefox

Philipp Hanselmann philipp at schoolnet.na
Thu Sep 6 22:33:51 BST 2007


Craig Szymanski schrieb:
> ----- "john" <lists.john at gmail.com> wrote:
>   
>> Hi all,
>>
>> I hope this is an easy one. I want to set the default home page for
>> all users in firefox. I looked through gconf-editor but I don't see
>> anything there that applies. Does anyone know how to do this?
>>
>>     
> Basically just edit this file...
> sudo nano /etc/firefox/pref/firefox.js
>
> and add this...
> user_pref("browser.startup.homepage", "http://www.mydomain.com");
>
> If users on the system have already opened firefox and the ~/.mozilla/firefox/<random>.default/prefs.js file is already present then you will probably have to remove the profiles or somehow figure out how to put something in /etc/profile that will parse the prefs.js file it is exists and change the home page on logon.
>
> I have some other notes about this here...
> http://szone.berlinwall.org/node/112
>
>   
>> Thanks!
>>
>> John
>>
>> -- 
>> edubuntu-users mailing list
>> edubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
>>     
>
>
>   
I did it like this:   killall -q firefox-bin &
   echo 'lockPref("app.update.enabled", false);
   defaultPref("browser.startup.homepage", "http://www.schoolnet.na/");
   lockPref("browser.startup.homepage", "http://www.schoolnet.na/");' > 
/usr/lib/firefox/firefox.cfg


Philipp

-- 
SchoolNet NA - Youth Empowerment through Information and Communication Technology

SchoolNet Namibia provides sustainable, low cost technology solutions and internet access, as well as technical support, training services and rich educational content to schools, community-based educational organisations, and educational practitioners throughout Namibia.

www.schoolnet.na






More information about the edubuntu-users mailing list