(no title)
notafox | 3 months ago
./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.
chimeracoder|3 months ago
AFAIK, they can only be created at the command line, not configured. If you want to do things like change default settings or install extensions from the Firefox Add-On store, you can't really do that at the command line.
You can do that by mucking around in the user.js file and manually adding .xpi files to the extensions/ subfolder, but that's probably stretching the definition of "done at the command-line" since most people aren't creating Puppet modules to manage Firefox profiles.
Perhaps someone knows an easier way to do this, though.
unethical_ban|3 months ago
panarky|3 months ago
Or add "-p" to the startup command to do the same thing without right-clicking:
skydhash|3 months ago