Get Rid Of Two Google Chrome Icons From Dock In Elementary OS Freya [Quick Tip]

Get rid of two google chrome icons from dock in Elementary OS Freya

This quick tip shows you how to get rid of two Google Chrome icons from the dock in Elementary OS Freya.

I hardly use the default Midori browser in Elementary OS Freya as Google Chrome is my main browser across all OSes. While Midori is kept in the dock by default, you’ll have to search for Google Chrome in Slingshot (applications) every time you want to open Google Chrome. To save time, I presume you have selected the “keep in dock” option for a quick access to Chrome.

The problem here is that when you click on the Chrome icon in the dock, it creates another instance of Google Chrome. This leaves you with two Chrome icons in the docks and this is something that might be ignored by many but definitely an annoyance and against the design. If you share the same feeling, let’s see how can we remove the second Google Chrome icon.

Remove two Google Chrome icons from dock in Elementary OS Freya

Step 1:

Remove Google Chrome from the dock.

Step 2:

Open the terminal and use the following command:

cp /usr/share/applications/google-chrome.desktop ~/.local/share/applications

Step 3:

Next we need to edit the google-chrome.desktop file. Use the following commands:

scratch-text-editor ~/.local/share/applications/google-chrome.desktop

It will open the google-chrome.desktop file in Scratch for editing. Under the [Desktop Entry] section, add the following line:


It will look a bit like this:

Get rid of two Google Chrome icons in Elementary OS Freya

Step 4:

Go to Slingshot and open Google Chrome again. Do select “keep in dock” again. Close it and start it again to verify that it doesn’t open a new Chrome instance in the dock. No reboot of system is required here.

I hope this quick tip helped you to remove multiple Google Chrome icons from dock in Elementary OS Freya. Feel free to ask your questions and drop your suggestions in the comment below.

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries 🕵️‍♂️

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world


Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.