Shortcut to a specific profile: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (Windows shortcut to a specific profile moved to Shortcut to a specific profile: making article open to Linux and Mac)
(adding image and tried to simplify instructions)
Line 1: Line 1:
When multiple [[profile folder |profiles]] exist for your Mozilla application, the last selected profile is automatically used unless you uncheck the "Don't ask at startup" option in the [[Profile Manager]].   If you don't wish to always see the Profile Manager at startup, you can use one of the methods given below to start with a specific profile.  These instructions apply to Windows operating systems.
When you create multiple [[profile folder |profiles]] for Firefox, Thunderbird or Mozilla Suite/SeaMonkey, the last selected profile for that Mozilla application is automatically used, unless you uncheck the "Don't ask at startup" option in the [[Profile Manager]]. You can use one of the methods given below to start your Mozilla application with the profile of your choice, instead of going through the Profile Manager each time you want to change profiles.  


The profile must be listed in the Profile Manager and the [[profile folder]] must be in the same location as when the profile was originally created, for this to work.
Note: If you want to start  Firefox or Thunderbird with a profile that is not listed in the Profile Manager, see the article [[Starting Firefox or Thunderbird with a specified profile]].
 
==Desktop shortcut==
You can create a [[Profile_Manager#Shortcut_to_a_specific_profile |shortcut to a specific profile]] on the Windows desktop or other location by modifying the shortcut properties as follows,  using Firefox as an example: 
# Go to the Firefox installation directory (usually <tt>C:\Program Files\Mozilla Firefox</tt>), right-click the file "firefox.exe", and select the option "Create shortcut".
#Right-click and rename the new shortcut to whatever you like, then right-click the shortcut again and select "Properties".
# In the Shortcut tab window, place the cursor at the end of the path inside the Target box.
# Click once (so that the path is no longer highlighted) then add a space,  '''-P''', another space,then the name of the profile enclosed in quotes (the profile name is case-sensitive), like this:<br>'''"<tt>C:\Program Files\Mozilla Firefox\firefox.exe" -P "Profile Name</tt>"'''
# Click OK to exit the Properties window.
# Drag the new shortcut to the desktop or other location.  


==Run dialog==
{{Right-pic|FXshortcut.png}}
Using a  Firefox profile named ''default'' as an example, click the Windows "Start" button, select "Run" and type the following in the "Open:" field,  then click 'OK":  
 
===Desktop shortcut===
 
''This  applies to Windows operating systems.''
 
You can create a [[Profile_Manager#Shortcut_to_a_specific_profile |shortcut to a specific profile]] on the Windows desktop or other location as follows.
 
(Using Firefox as an example)
First, create a new shortcut to Mozilla Firefox, using one of these methods:
 
*Right-click an existing desktop shortcut (or Windows Start menu shortcut) icon for your Mozilla application and select "Copy", then right-click a blank spot on the desktop and select "Paste".  A "Copy of Mozilla Firefox" icon will appear.
 
*Go to the Firefox installation directory (usually <tt>C:\Program Files\Mozilla Firefox</tt>), right-click the file <tt>firefox.exe</tt> and select the option "Create shortcut", then drag the new shortcut to the desktop (or other location).
 
Next, right-click the new shortcut, select "Rename" and  type in a new name for the shortcut, for example, "Firefox default".
 
Right-click the shortcut again and select "Properties". 
 
Go to the Shortcut tab and place the cursor at the end of the path inside the Target box, as shown in the image.
 
Click once (so that the path is no longer highlighted) then add a space,  then type '''-P''', another space, then the name of the profile enclosed in quotes (the profile name is case-sensitive).
 
The Target field should then look like this:
 
'''"<tt>C:\Program Files\Mozilla Firefox\firefox.exe" -P "Profile Name</tt>"'''
 
Click OK to exit the Properties window. 
 
==Command line option==
You can use the <tt>-P "<profile name>"</tt> [[command line arguments|command line option]] to start your Mozilla application with a specific profile.  Using a  Firefox profile named ''default'' as an example:
 
===Windows===
Click the Windows "Start" button, select "Run" and type the following in the "Open:" field,  then click 'OK":  
  '''firefox.exe -P "default"'''
  '''firefox.exe -P "default"'''
'''Note:'''  On Windows Vista, you can press "Windows key+R" to open the "Run" box if you have not enabled the Run command on the Start menu (details [http://blogs.msdn.com/tims/archive/2006/09/18/windows-vista-secret-3-bringing-back-start-run.aspx here]).
'''Note:'''  On Windows Vista, you can press "Windows key+R" to open the "Run" box if you have not enabled the Run command on the Start menu (details [http://blogs.msdn.com/tims/archive/2006/09/18/windows-vista-secret-3-bringing-back-start-run.aspx here]).


==See also==
*[[Starting Firefox or Thunderbird with a specified profile]]


[[Category:Profiles]]
[[Category:Profiles]]

Revision as of 15:06, 23 December 2007

When you create multiple profiles for Firefox, Thunderbird or Mozilla Suite/SeaMonkey, the last selected profile for that Mozilla application is automatically used, unless you uncheck the "Don't ask at startup" option in the Profile Manager. You can use one of the methods given below to start your Mozilla application with the profile of your choice, instead of going through the Profile Manager each time you want to change profiles.

Note: If you want to start Firefox or Thunderbird with a profile that is not listed in the Profile Manager, see the article Starting Firefox or Thunderbird with a specified profile.

Desktop shortcut

This applies to Windows operating systems.

You can create a shortcut to a specific profile on the Windows desktop or other location as follows.

(Using Firefox as an example)

First, create a new shortcut to Mozilla Firefox, using one of these methods:

  • Right-click an existing desktop shortcut (or Windows Start menu shortcut) icon for your Mozilla application and select "Copy", then right-click a blank spot on the desktop and select "Paste". A "Copy of Mozilla Firefox" icon will appear.
  • Go to the Firefox installation directory (usually C:\Program Files\Mozilla Firefox), right-click the file firefox.exe and select the option "Create shortcut", then drag the new shortcut to the desktop (or other location).

Next, right-click the new shortcut, select "Rename" and type in a new name for the shortcut, for example, "Firefox default".

Right-click the shortcut again and select "Properties".

Go to the Shortcut tab and place the cursor at the end of the path inside the Target box, as shown in the image.

Click once (so that the path is no longer highlighted) then add a space, then type -P, another space, then the name of the profile enclosed in quotes (the profile name is case-sensitive).

The Target field should then look like this:

"C:\Program Files\Mozilla Firefox\firefox.exe" -P "Profile Name" 

Click OK to exit the Properties window.

Command line option

You can use the -P "<profile name>" command line option to start your Mozilla application with a specific profile. Using a Firefox profile named default as an example:

Windows

Click the Windows "Start" button, select "Run" and type the following in the "Open:" field, then click 'OK":

firefox.exe -P "default"

Note: On Windows Vista, you can press "Windows key+R" to open the "Run" box if you have not enabled the Run command on the Start menu (details here).