this post was submitted on 10 Oct 2025
467 points (98.3% liked)
Technology
75967 readers
2999 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This 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 and allow me to launch them without invoking that command in terminal several times after rebooting my computer.
The "Use the selected profile without asking at startup" checkbox in the dialog is not there on mac?
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
On Mac:
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.
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 just manually make a
.desktop
file to have as a shortcut to callfirefox -P
, or better a shortcut to a specific profile withfirefox -P <profile>
. Though what I often do is keep a bookmark toabout:profiles
and open a new window from there.I might try this next time I launch. Just launch one, go into profiles, and launch the second one.
You've always been able to navigate to
about:profiles
as wellOn 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.
Why couldn’t you do that on a Mac? You can edit the shortcut path and add the flags and parameters there.