Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to switch user profiles under Vivaldi on macOS

Chromium based browsers such as Vivaldi support the concept of user profiles. These are different user configurations, under a single operating system login. You could use different users profiles for home and work, or to allow a friend to use your browser without messing up your setup or interacting with your open tabs.

Vivaldi does not currently provide any user interface for switching user profiles outside of the command line switch —profile-directory= (where you pass the name of the profile). However on macOS, you can make a quick launcher application in Automator.

To setup

  • Open the Automator.app (part of macOS) and create a new “Application”
  • Drag “Ask for Text” (found under “Text”) into the actions area
  • Set the “Question” to “Vivaldi Profile Name?”
  • Set the “Default Answer” to “Default”
  • Drag "Run Shell Script" (found under “Utilities”) into the actions area below “Ask for Text” and set "Pass input" to "as arguments"
  • Replace the example code with the following:
open -a /Applications/Vivaldi.app --args --profile-directory="$1"
  • Save the launcher application with an appropriate name in “/Applications”

To use

You can just use the browser as normal, however if you need to switch user profiles, quit the browser and restart it via the launcher application, then enter the name of the profile you wish to use and press “OK”. You can choose any suitable name, just remember it so that you can enter it again in the future. The default profile (that you have been using thus far) is called simply “Default”.

Notes

If you are intending to use different versions of Vivaldi on the same machine then user profiles are not the answer. You should instead run one of them standalone. This ensures that newer settings do not get broken by running Vivaldi with an older build.

@horsy2

This comment has been minimized.

Copy link

horsy2 commented Dec 5, 2016

Thank you for posting this!
Is it possible to create an application for a specific profile, so that you don't have to type in the name every time?

@srivaths

This comment has been minimized.

Copy link

srivaths commented Feb 9, 2017

This problem I am having with this approach is that it does not create another instance of the browser if one (for a different profile) is already open.

@GJRobert

This comment has been minimized.

Copy link

GJRobert commented Feb 13, 2017

It's not working for me now, too. I have upgraded to Vivialdi 1.7 and found that vivaldi://user-manager/ is not available now. Not sure if these are related issues.

Just found that using open -n /Applications/Vivaldi.app --args --profile-directory="$1" instead (-n switch), a new instance using another profile is opened and can be used in parallel.

@ryofurue

This comment has been minimized.

Copy link

ryofurue commented Feb 14, 2017

If you don't want to be ask for a profile name each time, omit the “Ask for Text” tool. Just drag "Run Shell Script" and put the command

open -n -a /Applications/Vivaldi.app --args --profile-directory="profile1"

(note the "-n" option) and save it as vivaldi-profile1, for example. Repeat this for another profile, say, profile2, and save it as vivaldi-profile2. In this way you can invoke multiple Vivaldi instances with different profiles.

Edit: Having said that, my solution sounds like wearing a space suite to keep warm in winter. . . . As an ex-Linux Mac user, I would just write a shell script which consists of !/bin/sh and the above line and put it in ~/bin .

@ryofurue

This comment has been minimized.

Copy link

ryofurue commented Feb 15, 2017

Does anybody know how to handle auto-update when multiple instances (with separate profiles) of Vivaldi exists?

A while ago, an auto-update popup showed up. I closed all the instances of Vivaldi as a precaution. I then invoked just one instance and did "Vivaldi" > "Check for Updates" . But, then, I was told that the Vivaldi is already up to date.

Is it possible that one of the instances don't know that it's up to date?

@xMajedz

This comment has been minimized.

Copy link

xMajedz commented Apr 20, 2017

actually in vivaldi you can add profiles with vivaldi://settings/createProfile it well send to a chrome like setting page

@Zalext

This comment has been minimized.

Copy link

Zalext commented Jun 20, 2017

May I suppose that this will work for Opera also?
(Changing Vivaldi to Opera, off course.)

@imasaru

This comment has been minimized.

Copy link

imasaru commented Dec 11, 2017

vivaldi://settings/createProfile no longer seems to work in Vivaldi 1.14.1036.3.

Also, using the --user-data-dir argument instead of --profile-directory would allow each user profile to use its own settings and configurations, whereas the latter would share those with the original profile. This allows for a truly standalone experience when running multiple instances of Vivaldi.

To use this in Automator: open -n -a /Applications/Vivaldi.app --args --user-data-dir="$HOME/Library/Application Support/Vivaldi/"$1""

(Source: https://forum.vivaldi.net/topic/14607/weird-multiple-vivaldi-instances-and-saved-sessions/4)

@krystian3w

This comment has been minimized.

Copy link

krystian3w commented Apr 16, 2018

"vivaldi://settings/createProfile" if no work use: chrome://settings.

@ruario

This comment has been minimized.

Copy link
Owner Author

ruario commented Feb 27, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.