How to Create Multiple User profiles in FireFox on Mac OSX

Published Tuesday, December 02, 2008 3:51 PM

I was wondering the other day if it's possible to create multiple users for Firefox within the same user account on a Mac. Of course after a little research I found someone who had a tutorial but I thought instead of just linking to him I would try and show you maybe a little bit better than him. Okay here we go.

 Step #1 Create New Profile

 In order to create a new profile you have to use the terminal to launch the Profile Manager. You can't access the Profile Manager menu any other way. So you will need to open Terminal to do this. You can either type the word "Terminal" into spotlight or go and get it into the application folder under utilities. Here is the Path.

Applications << Utilities < < Terminal

Once it opens type copy and paste this in the terminal

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



then hit enter.

After you do that the profile manager will pop-up. This is where you add your new profile. When you create your new profile don’t put a space in it because it seems to mess things up later. The profile name is case sensitive so make sure you remember exactly what you called it capitals and all. The great thing about having multiple profiles is that it allows more than one person to have settings on the same computer. Or you could have one profile that has all the Internet plug-ins and toolbars and one that does not.

When you’re done with that click exit and it should close the window. Here’s the deal, you could stop here which allows you to launch Firefox and just choose which profile you want to use. If you want to use both of them at the same time or have separate icons for the different profiles then it gets a little trickier.

Step #2 Create Specific profile launching icons

To get icons the will launch Firefox in a specific profile you have to create a script that will do so. You will need to open the “Script Editor” which can be either typing “ Script Editor “ into spotlight or finding it in the applications folder here is the path.

Applications<<AppleScript<<Script Editor.app

After opening the script editor you will need to paste in a line of code. Don’t worry if you have no idea how to use the script editor just paste this into the window.

    do shell script "/Applications/Firefox.app/Contents/MacOS/firefox -P profileName"

here is what it should look like:



Where it says “profileName” you will need to put the profile name you created. I made the profile named “Light” so my line of code will look like this and don’t forget the caps.

    do shell script "/Applications/Firefox.app/Contents/MacOS/firefox -P Light"
   
Now click “File” << “save as” and name it something. I chose something like ffLight but once again don’t use spaces. In the “File Format” dropdown save it as "Application Bundle" and the click save.

Your icon is ready now all we have to do is tell it not to ask what profile to use by modify a file.  Right click on the file your created, mine was called “ffLight” and select show package contents then select “contents” folder and find the info.plist file. Open it in Textedit and insert this bit of code 


<key>LSUIElement</key>
<string>1</string>

Just below this bit of code

< key>LSRequiresCarbon</key>  <true/>

Like this:



After you save it and you’re done. Just click on the file your created and it will launch Firefox using your new profile. You can run this side by side with your other profile. If you don't like the little script icon you can change it to any icon you want. If you want it to look like the default Firefox icon all you have to do is right click the FireFox application and select "get info". click on the firefox icon at the top left of the screen and then hit Command + C to copy it. then do the same thing to the script file you created but hit Command +  V instead of C after selecting the icon. 

 

Hope this help if you have any questions send me a line at will@willthethrill.net

Filed under: , , , , , , ,
Add to Bloglines Add to Del.icio.us Add to digg Add to Facebook Add to Google Bookmarks Add to Newsvine Add to reddit Add to Stumble Upon Add to Shoutwire Add to Squidoo Add to Technorati Add to Yahoo My Web


This Blog

Syndication