2

I am using Opera for the first time. I want to create multiple profiles (for home / work). I see some instructions for how to do this, but they are all for Windows and all quite old.

Is there an easy way to do it these days? I am using Ubuntu 20.04.

2 Answers2

1

You can create multiple entry for opera client by using this command

opera --user-data-dir=~/"your new user directory"

for simplicity you can save alias to ~/.bashrc.

alias op1="opera --user-data-dir=~/opera/user1"
alias op2="opera --user-data-dir=~/opera/user2"

or you can create new .desktop file check my answer.

Mohamed Slama
  • 1,849
  • 1
  • 17
  • 37
0

You have your profile in "~/.config/opera"

Create new profile by duplicating it - "~/.config/opera2"

And launch opera like this

instance1 - "opera --profile-directory ~/.config/opera2"

instance2 - "opera --profile-directory ~/.config/opera"

Alice
  • 1
  • Thank you. I am in ~/.config/ but I don't see any opera. – user1551817 Jul 11 '22 at 16:03
  • @user1551817 you need to launch opera, unless it won't appear – Alice Jul 12 '22 at 08:08
  • Opera is certainly open. But I'm afraid there is no opera in my ~/.config/ folder. Perhaps it's somewhere else? – user1551817 Jul 12 '22 at 19:47
  • @user1551817 I just tested in ubuntu. The config must appear once you open opera in "$HOME/.opera" . There's possibility that you are opening opera with sudo, which makes config appear in "/root/.config/opera" – Alice Jul 13 '22 at 12:57