| ▲ | bluebarbet 11 hours ago | |||||||||||||||||||||||||||||||||||||
Profiles are great. I've used them for years. Much better than containers, which separate your data sort-of-but-not-quite. A profile folder has everything. You can copy it, back it up, plug it into a completely new Firefox installation later. That portability is a killer feature, but scriptability needs to be improved. The manual says you can do: >`firefox --profile <path> Start with profile at <path>` But that will not work as expected if you have more than one profile (which is the whole point). At present the only workable solution is to fiddle with a GUI thru `about:profiles` (or `firefox --ProfileManager`) in order to create the profiles and give them all-important UIDs. And then do: >`firefox -P <UID>` It may seem small, but I've found that this is a serious roadblock. I wish it could be fixed so as to make profiles entirely scriptable. PS: to be clear, after the futzing with the GUI to create the profiles, my script works (well!) at opening windows in the right profile, this way: (1) Check if the given profile is already launched: `ps -eo args | grep -E ".(firefox).(-P $UID)" | grep -v grep > /dev/null` (2) Do `firefox -P $UID --new-instance $url` if it isn't, and `--new-tab` if it is. Inelegant, but very reliable. | ||||||||||||||||||||||||||||||||||||||
| ▲ | Brybry 8 hours ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||
In Windows 10 I have shortcuts pinned to my taskbar that are just > ...firefox.exe" -P "profilename" and then `taskbar.grouping.useprofile true` so only windows from the same profile are grouped together and some custom recolored Firefox icons for those pinned shortcuts and custom per-profile userChrome.css styling (#TabsToolbar background-color) for easy visual differentiation of a window's profile. For Windows 10, no scripting is needed. Just the initial GUI profile setup. > ...firefox.exe" -P "profilename" "https://www.example.com" from terminal works exactly as expected regardless of how many profile instances are currently running or their state. You can even have multiple versions of Firefox installed and point them at different profiles. I have some profiles on ESR and some on Standard. | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ▲ | yjftsjthsd-h 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
> But that will not work as expected if you have more than one profile (which is the whole point). At present the only workable solution is to fiddle with a GUI thru `about:profiles` (or `firefox --ProfileManager`) in order to create the profiles and give them all-important UIDs. FWIW, that's only true if you care about it having those IDs and being exposed to the graphical interface. If you don't, then you can just run `firefox --profile $HOME/.mozilla/firefox/whatever` and it works. I use a small shell script™ wrapper to run firefox this way and it's quite nice. Also helpful: If you run firefox like that, you can just point it at a new empty directory and it'll populate it as a profile, so it's easy to make new ones too. | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ▲ | conaclos 10 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
Have you tried `firefox --no-remote --profile <path>`? In my case, I am able to launch several Firefox instances with distinct profiles. | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ▲ | celsoazevedo 8 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
> A profile folder has everything. You can copy it, back it up, plug it into a completely new Firefox installation later. These new profiles seem to be slightly different from the old ones? [edit: ignore most of the stuff below, see replies] The new UI doesn't show your other regular profiles and when you create a new profile via the new UI, it also doesn't create a separate profile folder (it's part of your active profile). They're like sub profiles... probably to allow everything to be synced via a Firefox account? We can still move the profile folder. The difference is that what's created with the new UI is part of that folder (the old about:profiles page is still there and old style profiles are still supported). | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ▲ | ghostly_s 10 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
Tried containers when it was released but found it very inconvenient to manage. If I understand this solution doesn't even let you have two profiles open at once? That's even less useful imho. edit: I use Simple Tab Groups which is far more featureful - "Send tab to [group/container/etc]" for example is table stakes. | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ▲ | 10 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
| [deleted] | ||||||||||||||||||||||||||||||||||||||
| ▲ | alex1138 an hour ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||
Unfortunately I don't think you can just transfer willy nilly between firefox versions, at a certain point downgrades don't work, and I'm just trying to figure out where that point is (can you move to ESR for example) | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||