Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



But that script won't work if you need to open subsequent new windows in particular profiles.

PS: probably. It's possible there was a fix. The GUI setup remains unscriptable.


Ah, right. TBH I mostly just don't do that, but I did throw together a script that takes a URL and just puts it on the clipboard and uses notify-send to tell you about it, so I can just paste into whichever window I want (and then tell the system that that script is my preferred "browser" to open http(s) URLs). This obviously adds a little friction, but it makes it trivial to open links in any browser/profile/window/tab-group I want.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: