Hi,
I am trying to create a portable FF for linux and it's pretty much done except FF looks in ~/.mozilla/firefox/* for pluginreg.dat upon start.
I remember reading this was an issue when Mr. Haller was first creating portableFF for Windows.
So, if I compile with "--with-user-appdir=.CustomDir" FF will not look in ~/.mozilla, correct?
I don't want FF creating any dirs on the HDD and right now if ~/.mozilla/firefox/pluginreg.dat does not exist FF creates it.
Can I compile without specifying a dir, eg:
--with-user-appdir=
Would this prevent FF from searching/creating dirs/files on a HDD?
Mr. Haller,
Do you have to use any other special compile args when you build FF? Does FF access the HDD other than above?
(I know your apps are for Windows but I thought you could lend your expertise below...)
I edited the "firefox" script as so:
MOZ points to the USB (this should match --with-user-appdir correct?):
MOZ_USER_DIR="\.mozilla/firefox"
$HOME is modified to the USB:
*was: "${HOME}/${MOZ_USER_DIR}/init.d"
*now: "${MOZ_USER_DIR}/init.d"
Moz_libdir points to USB:
moz_libdir=\lib/firefox-2.0.0.3
MRE_HOME points to USB:
MRE_HOME=\lib/mre/mre-2.0.0.3
Thanks for any help or guidance,
Did you ever have any luck with this? I'm working on a portable Thunderbird/Enigmail setup for Linux, and would like a portable Firefox too.
I'm not sure if you are still trying this, but if you are, you can get ff to use another profile directory by using this (I put it into a script outside of the "firefox" directory with the official ff binaries obtained from getfirefox.com you might can adapt it somehow):
sh ./firefox/run-mozilla.sh ./firefox/firefox-bin -profile ./firefox/newprofiledir