How to avoid two Chrome icons in ELemetary OS Freya
This article will teach you how to avoid two Google Chrome icons in ELemetary OS Freya.
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.
Install Google Chrome in Ubuntu 14.04 LTS
Solution to Chrome dependency installation in Ubuntu 13.04
Install Chrome in openSUSE
Install Google Chrome 35 Beta for Linux Users
Install Google Chrome in CentOS 6.x
Chrome details: click here
Chrome: click here
This article permanently updates the link address: