Ubuntu – Launching Google Chrome from docky

dockygoogle-chrome

I have installed google-chrome-stable by using google-chrome-stable_current_amd64.deb on my ubuntu 14.04. I am able to start the browser by typing google-chrome-stable in my terminal. My issue is how do I launch chrome from docky.

I am able to add a link to chrome in my taskbar and when I click on this launcher icon another chrome-google-chrome icon gets added to the launcher as shown below :

chrome starter

and now I go to the docky, right click on the chrome icon and select 'Pin to dock'.
after this I close my browser. Now I try to relaunch the chrome by selecting the pinned google-chrome icon as shown below:

chrome icon in docky

but the chrome does not launch from here. I also tried dragging the 'Google Chrome' icon to docky but it doesnt get pinned to the dock.

Any suggestions ?

Best Answer

Finally I have figured out the problem and here is what I did :

Step 1 : Uninstall Google Chrome

Type the following in your terminal

sudo apt-get remove google-chrome-stable

Step 2 : Remove all chrome links

This was necessary because in my system, because Google Chrome icons were still present in spite of removing Chrome after Step 1.

sudo su
cd .local/share/applications
ls -l

I found that google-chrome-stable.desktop is still present here so I removed it by typing

rm -f -r google-chrome-stable.desktop

Step 3 : Reinstall Google Chrome

Download the latest google-chrome-stable_current_amd64.deb file (from here), and install it using Ubuntu Software Center.

Step 4 : Post Installation settings (Most Important)

Navigate to /usr/share/applications directory using GUI, then drag and drop the Google Chrome icon into the docky.

Thats it... Now you can launch Google Chrome from docky with just a single icon.