Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I followed the instructions present here in order to use two Firefox profiles simultaneously. But I would like to make this process faster by starting each profile from its own shortcut. How do I create a shortcut to launch each profile?

share|improve this question

1 Answer 1

up vote 7 down vote accepted

You can use your menu launcher creator (or right click the desktop and select new launcher, depending on what desktop you are on) to fashion two new firefox launchers. The command you need for each launcher is, for example:

firefox -Profile /home/mike/.mozilla/firefox/55divdmr.Mike2 -no-remote

This will launch firefox with that profile and make sure that it doesn't connect to any other running instance of firefox with the essential -no-remote switch.

If you wanted to do it manually, the desktop shortcut would look something like this; you could create it in a text-editor and name it firefox2.desktop:

[Desktop Entry]
Type=Application
Name=fox2
Comment=my second profile
Exec=firefox -Profile /home/mike/.mozilla/firefox/55divdmr.Mike2 -no-remote
Path=/home/mike
Icon=/my/icon/location
Terminal=false
StartupNotify=false

Something else I recommend is going to your firefox folder ( mine is /home/mike/.mozilla/firefox) and checking that the StartWithLastProfile setting in profiles.ini is false:

[General]
StartWithLastProfile=0

This is because it can get confusing if you are using different profiles and you start firefox as normal without using a special shortcut and it just loads the last profile used.

You can also get prompted each time for which profile to use by making sure 'don't ask at startup' is unchecked, which is in the firefox ProfileManager settings below. This setting is reached with

firefox -ProfileManager -no-remote

as noted in the question you referred to.

enter image description here

For more information on the command switches available for firefox see man firefox or the Ubuntu manpages online. Further support is available at mozilla.org.

share|improve this answer
    
Thank you, exactly what I needed. –  cnavigator Dec 7 '12 at 21:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.