Ok, Here's another one.
I had to bundle firefox as part of a solution we are providing.
We have a bootable CD I've buit myself.
The CD'll install all the software we want to bundle so no need for the firefox installer.
We wanted to add the Arabic translation XPI with the locale switcher extension.
I thought about adding the .mozilla directory to the /etc/skel. Unfortunately, This didn't work for me as firefox is hardcoding the path for the chromes. So if I copy it to another home directory it doesn't work.
1st get the firefox tarball from mozilla.org "The tarball not the installer" and unpack it.
2nd cd to the directory where you unpacked it, install the extensions and customize the default profile.
3rd re-pack the tarball again and you have it!
OK. How to achieve the 2nd step ? Firefox offers a command line switch "--install-global-extension" and another one "--install-global-theme"
So, for every extension you want to bundle, Just do:
./firefox --install-global-extension /full/path/of/the/XPIAnd that's it.
Now let's customize the default profile:
You need to run firefox, Adjust what you need. then copy
~/.mozilla/firefox/XXXXXXXX.default/prefs.js
where "XXXXXXXX" is a random string generated by firefox.
to
firefox/defaults/profile/before re-packing the tarball.
And that's it!












Where are you from?
This reminds me that I should create the about me page ;-)
woow.. really nice
ps: just check the title for a misspelling
Fixed, Thanks
Good tips.
Forgive me if this sounds stupid.
I would like to deploy firefox on a Unix machine where multiple users could login using a single sigon user account. The first user who runs firefox locks the profile (lets say default profile), right? When other users run firefox, it prompts them to either to use another profile or create a new profile. How do I force them to use the default profile? I don't care about saving the profile settings on exit (actually I want to lockdown the profile).
Thanks in advance.
Not sure
With debian I can inoke it multiple times.
Maybe if you remove the lock file when firefox start ? an rm -f or unlink in the beginning in the script should do it.
set the environment variable MOZ_NO_REMOTE=1 in the environment. then you should be able to run multiple profiles simultaneously using firefox.exe -p "randomprofilename"
regards
shivanand sharma
http://varun21.googlepages.com/blog.html