./firefox -CreateProfile "profile-name /home/user/.mozilla/firefox/profile-path/"
./firefox -profile "/home/user/.mozilla/firefox/profile-path/"
And, you can run it directly, no need to launch default firefox profile:Given that /usr/bin/firefox is just a shell script, you can
- create a copy of it, say, /usr/bin/firefox-hn
- adjust the relevant line, adding the -profile argument
If you use an icon to run firefox (say, /usr/share/applications/firefox.desktop), you'll need to do copy/adjust line for the icon.