How to access multiple Skype accounts in Ubuntu 12.04

Around 2 days ago, I was able to access multiple Skype accounts. But now I do not know what has happened and I am unable to access multiple Skype accounts in the way I did before.

Is there any way to fix the issue and access multiple Skype accounts?


Solution 1:

Skype (4.1, at least) includes the --secondary command line option to open a second instance. One could create a launcher and add this to the command.

See skype --help for more options.

Solution 2:

  1. cp -a ~.Skype/ ~.Skype2/
  2. Create ~/Skype2 and put a new document in it named skype2.
  3. Edit the file skype2 and add skype --dbpath=~./.Skype2.
  4. Change permissions on skype2 to allow execution.
  5. Launch skype2 and enjoy.