Skip to content

Instantly share code, notes, and snippets.

@berfarah
Last active August 29, 2015 14:04
Show Gist options
  • Save berfarah/9391eaf7c22c7070dc37 to your computer and use it in GitHub Desktop.
Save berfarah/9391eaf7c22c7070dc37 to your computer and use it in GitHub Desktop.
Getting Multiple Profiles to work on Mac

Run multiple Firefox profiles as separate Applications on Mac

Creating a new Firefox profile

Open terminal and execute the following to set up a profile:

/Applications/Firefox.app/Contents/MacOS/firefox-bin --ProfileManager

Using Automator to run the new Firefox profile as an application
  1. Open Automator
  2. Choose File -> New -> Application automator new app
  3. Choose Utilities group under Library
  4. Drag Run Shell Script to the workflow pane on the right
  5. Paste the following script

/Applications/Firefox.app/Contents/MacOS/firefox-bin -P MyProfile -no-remote >&/dev/null

  1. Choose "Save as" and save it where you want to keep it

Making it pretty - Change the Application Icon

  1. Right click on the saved file and choose Get Info ( or use Cmd + I ) to bring up the Info window. sure that it is not locked (bottom right corner) -
  2. Open Finder and go to /Applications/Firefox.app/Contents/Resource directory
  3. Open firefox.icns file in Preview (just double click it).
  4. Click on the image shown in the main Preview pane, copy it using Ctrl – C, click on the icon in the top of Info window and paste it using Ctrl – V.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment