Tuesday, August 26, 2014

Fix: Duplicate Google Chrome icon in Elementary OS Plank


The duplicate icons of Google Chrome on Elementary OS's Plank is a common issue. I was hoping for new Google Chrome updates but there is no fix yet.


To fix the double Google Chrome icons on the dock:
  1. Open Terminal and enter:
  2. sudo nano /usr/share/applications/google-chrome.desktop
  3. Under each 3 sections,
  4. [Desktop Entry]
    [NewWindow Shortcut Group]
    [NewIncognito Shortcut Group]

    Insert the following code:
    StartupWMClass=Google-chrome-stable


  5. Press Ctrl + o and Enter to save the file.
  6. Press Crtl + x to exit.
  7. Now close Google Chrome and drag out the Chrome icon from dock to remove.
  8. Open Google Chrome and lock the icon again.

1 comment:

  1. Martín (Argentina)June 10, 2015 at 7:08 AM

    This was really useful! Still working in Freya (elementary OS 0.3). Thank you!

    ReplyDelete