Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have made a custom Ubuntu LiveCD with UCK. How do I modify Firefox's homepage?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

I've newer tried to use uck, but I would try the following:

The skeleton-directory for the ubuntu user is

/etc/skel

so create the folder:

/etc/skel/.mozilla/firefox/

in this folder create a file "profiles.ini" with content:

[General]
StartWithLastProfile=1

[Profile0]
Name=default
IsRelative=1
Path=a.default

Now add a folder

/etc/skel/.mozilla/firefox/a.default/

In this folder create a file named user.js with content:

//
// user.js: Personal prefs which mozilla shouldn't overwrite.
//

user_pref("browser.startup.homepage", "http://www.omgubuntu.co.uk");

greez Waschtl

share|improve this answer

Edit /etc/firefox/syspref.js and add:

pref("browser.startup.homepage", "http://example.com/");

This will probably only affect profiles which have not modified the homepage on their own though.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.