I made this into a shortcut on Mac OS Panther the year Firefox came out (2004). This has been possible on all operating systems for decades
Comment on Firefox is adding profiles to separate your browsing sessions
stoly@lemmy.world 2 weeks agoThis only works on Windows. For Macs and maybe Linux, you have to run this command to bring up a different profile:
/Applications/Firefox.app/Contents/MacOS/firefox -p
As best I can tell, there’s no way to make this into a shortcut that you could just click on. This change will be good!
4am@lemmy.zip 2 weeks ago
setsubyou@lemmy.world 2 weeks ago
If you want an icon you can double click on your desktop, you can put you command in a file with the extension “.command” and mark it as executable. Double clicking it will run the content as a shell script in Terminal.
If you want something that can be put into the Dock, use the Script Editor application that comes with macOS to create a new AppleScript script. Type
do shell script “<firefox command here>”then find Export in the menu. Instead of Script, choose export to Application and check Run Only. This will give you an application you can put in the Dock.If you want to use Shortcuts, you can use the Run Shell Script action in Shortcuts too.
Finally, if you want something that opens multiple firefoxes at once, chain multiple firefox invocations together on one line separated by an ampersand. There is an option you have to use (–new-instance I think?) to make Firefox actually start a complete new instance.
Kissaki@feddit.org 2 weeks ago
The “Use the selected profile without asking at startup” checkbox in the dialog is not there on mac?
stoly@lemmy.world 1 week ago
I hadn’t known that this was a method. My entire workflow has been changed.
ozymandias117@lemmy.world 2 weeks ago
You’ve always been able to navigate to
about:profilesas wellstoly@lemmy.world 2 weeks ago
On Windows, I had two shortcuts–one each for a profile. It became my workflow and annoyed me when I couldn’t do that on a Mac. I didn’t always want my work profile to open by mistake, check into systems, etc. when I only wanted the home one, for instance.
4am@lemmy.zip 2 weeks ago
Why couldn’t you do that on a Mac? You can edit the shortcut path and add the flags and parameters there.
stoly@lemmy.world 1 week ago
I was never able to figure a way to do this. I could link to the executable but not modify the shortcut to allow for flags.
Ferk@lemmy.ml 2 weeks ago
In Windows it’s the same. Though the parameter is
-P(uppercase) not-p. That’s why the comment said “it’s hidden behind a startup parameter”.I dont know about Mac, but in Linux you can make a shortcut to call
firefox -P. Though what I often do is keep a bookmark toabout:profilesand open a new window from there.stoly@lemmy.world 2 weeks ago
I might try this next time I launch. Just launch one, go into profiles, and launch the second one.