How to solve the problem of two Chrome icons in Elementary OS Freya

Source: Internet
Author: User

Chrome is the main browser I use in all systems. Modori is the default browser in the dock, so you need to search Google Chrome in Slingshot every time you use Chrome. To save time, I usually keep it in the dock.

The problem here is that when you click the Chrome icon in the dock, it will create another Google Chrome instance. This leaves two Chrome icons in the dock. Maybe you don't care about it, but obviously Virgo cannot bear it! If you have the same feelings, let's see how to remove the second Google Chrome icon.

Delete the second Google Chrome icon in the dock of Elementary OS Freya

Step 1:

Remove Google Chrome from the dock.

Step 2:

Open the terminal and run the following command:

Cp/usr/share/applications/google-chrome.desktop ~ /. Local/share/applications

Step 3:

Next we will edit the google-chrome.destop file. Run the following command:

Scratch-text-editor ~ /. Local/share/applications/google-chrome.desktop

This opens the google-chrome.destop file with Scratch. In the [Desktop Entry] section, add the following line:

StartupWMClass = Google-chrome-stable

It looks like this:



Step 4:


Go to Slingshot and open Google Chrome again. Select "keep in dock" again ". Close and re-open it to verify if it has opened another Chrome icon in the dock. You do not need to restart the system.

I hope this prompt will help you delete the extra Chrome icons in Elementary OS Freya. If you have any questions or suggestions, please let me know in the comment area.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.