Skype multiple Instance in Ubuntu 12.04 LTS

You can install Skype 4.x from skype.com and download the linux version and install. You can aslo install it from Ubuntu Software Center as well.Now you need to create new copies of Skype. Open terminal and run these commands:

cp -r ~/.Skype ~/.Skype.one
cp -r ~/.Skype ~/.Skype.two

Ubuntu 12.04 lts
Now you have two installed instances of Skype. Now create a launcher for these two different Skypes.Now create a folder in your home directory to put these launchers in. I have created a folder “allskype“, but you can name  it as yours whatever you want. Open a terminal  and run these commands:

mkdir allskype

gnome-desktop-item-edit ~/allskype/ – -create-new

A new launcher box will pop up. Enter Name and pick an icon what you want . Now fill this in command field with command:

skype –dbpath=~/.Skype.one

And lets do this again for the second Skype

gnome-desktop-item-edit ~/allskype/ – -create-new

skype –dbpath=~/.Skype.two

So your launchers are both made and can be found in your new /home/allskype directory. Open up your file browser and go there and you should see the two new instances of Skype. You can use as many as you want, just name them different and use them.

Note:
You can install  gnome-panel package using this terminal command:

sudo apt-get install –no-install-recommends gnome-panel

Advertisements

How to start LAMPP automatically in Ubuntu?

For a web developer LAMPP is the primary application for web development, so to start it every time whenever you login. You can make a script which will automatically start LAMPP on login.

xampp_ubuntu_autostart

Open terminal and run following command.

sudo gedit /etc/init.d/lampp

Use following code in file & save and close the file.

#!/bin/bash
/opt/lampp/lampp start

Now run following command to make this script executable.

sudo chmod +x /etc/init.d/lampp

In Last run following command to install init scripts to all runlevel.

sudo update-rc.d lampp defaults

Restart the system for confirmation, lampp would be start automatically & you can check it by running http://localhost in your browser.