Setting up Multiple Profiles in Opera

Opera uses a very flexible profile system to configure user settings and preferences. When you install Opera, it asks you whether you want to install for individual users or not; this defines where Opera stores its settings. It is normally better to allow Opera to create individual profiles, as you can then set up additional custom profiles easily. The big advantage is that you can run different Opera profiles at the same time, giving great flexibility in how you can set Opera up. See EditingINIFiles for more general information on INI files.

When using individual users profiles, to find the directory where your data is stored, open Help » About Opera and see where the Preferences path points to, for example in Windows XP it is usually C:\Documents and Settings\userX\Application Data\Opera\Opera\profile\opera6.ini

(From now on to make the page clearer I will shorten C:\Documents and Settings\userX\Application Data\ to APPDATA — thus our profile directory is now written APPDATA\Opera\Opera\profile\opera6.ini)

With this knowledge it is very easy to manipulate the profiles to your pleasing. As an example, lets say you have a profile you've used for a while and you want to make a new clean profile without any of your customisations; here are the steps to creating a clean profile which you can then easily run simultaneously with your normal profile. We will assume the install pattern above, but you need to change the paths shown below depending on your install and profile paths!:

  1. Close Opera.
  2. With our normal profile in APPDATA\Opera\Opera\profile\ we will first rename that profile; rename the directory (bolded bit) using explorer to APPDATA\Opera\OperaOld\profile\
  3. Start Opera. Opera will try to find the old profile, but it has been renamed so it will not find it; in this case it will recreate the directory (APPDATA\Opera\Opera\profile\) with new profile files.
  4. Close Opera. Now rename that recreated profile directory to APPDATA\Opera\OperaNew\profile\
  5. Open the opera6.ini file in APPDATA\Opera\OperaNew\profile\ in a text editor. You must now edit all the lines where you see the path APPDATA\Opera\Opera\profile\ and rename them to APPDATA\Opera\OperaNew\profile\. So for example
    Opera Directory=C:\Documents and Settings\userX\Application Data\Opera\Opera\profile


    Opera Directory=C:\Documents and Settings\userX\Application Data\Opera\OperaNew\profile
  6. Rename APPDATA\Opera\OperaOld\profile\ back to APPDATA\Opera\Opera\profile\ — this makes your old profile directory the default again.
  7. To start Opera with this new directory, we will use a command-line switch to open a specified ini file. Make a new shortcut and use: "C:\Program Files\Opera\Opera.exe" /settings "C:\Documents and Settings\userX\Application Data\Opera\OperaNew\profile\opera6.ini" for the target of the shortcut(assuming our paths are as above).

Now clicking on our old shortcut loads Opera with the old profile, and clicking the new shortcut makes Opera start with the clean profile. You can run both of them at the same time, just like having two different installs of Opera running, but without having to install twice! As many profiles as you want can be created, and can be placed anywhere you like.



There are 72 comments on this page. [Display and/or add comments]