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.
You say you removed the (extra) launchers from ~/.local/usr/share/applications/
, but it should be ~/.local/share/applications
(without usr
).
Remove all google-chrome.desktop
files from ~/.local/share/applications
and all other .desktop
files that may call google-chrome
. If you doubt, make the file executable and it will show its icon. Then log out/in.
Best Answer
You probably have an old version, or a version with an error, of the
.desktop
file in~/.local/share/applications
. The "reading priority" of the launcher is:~/.local/share/applications
,/usr/share/applications
.That means that if you start the application from the "right" (global)
.desktop
file, the launcher will check for a local version of the.desktop
file on the next occasion and use the contents of that file.You will have to remove the local
.desktop
file, log out and in, and lock the icon to the launcher again.