Chrome shows two icons in Unity Launcher

7,421

I periodically run into this problem and variants of it, most recently on Ubuntu 14.04.

Here's what has worked for me in these cases:

  1. Close all Chrome windows (and choose Exit from the Chrome indicator menu, if you have one).
  2. Right click on all Chrome icons in the launcher and choose Unlock from Launcher.
  3. Open the Files application.
    1. Choose Location from the Go menu (or press Ctrl-L).
    2. Type .local/share/applications into the text field and press Enter.
    3. You should see a number of files whose names contain "chrome" (or "chromium" if you're using Chromium instead of Google Chrome. Send these files to the Trash (but leave any other files in this folder alone).
  4. (You might have to log out and log back in at this point, but I don't think this is always necessary.)
  5. Open the Dash and type chrome. You should see only 1 entry.
  6. Launch Chrome and lock to the launcher (by right clicking on the icon and choosing Lock to Launcher or by dragging the icon out to the right of the launcher and then back in at a different location).
  7. Close the Chrome window, and then use the launcher icon to reopen it. It should open normally and you should not see a 2nd icon appear.
Share:
7,421

Related videos on Youtube

John Smith
Author by

John Smith

Updated on September 18, 2022

Comments

  • John Smith
    John Smith over 1 year

    I am a new Ubuntu user. I just installed 12.04. To get Chrome on the Launcher, I clicked the BFB and searched for Chrome, then dragged that icon to the Launcher. However, when I run Chrome, it creates a second icon for the running chrome. Creating a second window creates a second triangle under the second Chrome icon, with the first icon not doing anything. It is also apparently not locked to the launcher and I can't remove it. Does anybody know how to remove the first icon? I have locked the second icon to the launcher and it seems to be working fine, but I don't want two icons.

  • JamesTheAwesomeDude
    JamesTheAwesomeDude almost 11 years
    Good idea, but.. didn't work. Found this while Googling...
  • CharlyDelta
    CharlyDelta about 8 years
    Excellent answer. Can confirm, that this does still work as of Ubuntu 15.10 btw
  • NiKo
    NiKo over 7 years
    And this still works for ubuntu 16.04