I have a system which has Firefox installed in /usr/bin/firefox
that uses profiles in ~/.mozilla/firefox
.
I have installed a new additional firefox
in /opt/myapplication
. I would like for the new firefox to look for and store profiles in ~/.myapplication
. Additionally, when attempting to launch /opt/myapplication
, if no profiles exist in ~/.myapplication
, a new profile should be automatically created. ie. a new system user should not need to create a profile before launching the /opt/myapplication
version of FireFox, and neither version should be aware of the others existence.
How can I accomplish this?
profiles.ini
file itself which is where the path to each one is stored (in your case is~/.mozilla/firefox
). You probably could effectively move it with a symbolic link, but you'd need to play games to get that set to the desired value before launching the different versions you have installed. It might be easier to just have them all share theprofile.ini
and just use profiles with different unique names.MOZ_APP_PROFILE
inbrowser/confvars.sh
and compile a version that points to a different path. I haven't been able to find any documentation on the format ofMOZ_APP_PROFILE
though.profiles.ini
altogether by using the-profile
command-line option.Profile=
option in the[App]
section of each version'sapplication.ini
file which is stored in the executable program's folder.