I'm using fedora 20 with xfce. The launcher icon on docky is the xfce panel icon instead of the google chrome icon, I've made sure the correct icon is inside /usr/share/applications but it's still the panel icon.
-
1How did you install Chrome? – Braiam Jan 19 '14 at 18:22
-
Downloaded it from www.google.com/chrome/, and installed it... – steve51516 Jan 19 '14 at 18:28
-
Edit your question and write the *exact procedures* you followed verbatim, in a way that anyone can reproduce. – Braiam Jan 19 '14 at 18:32
3 Answers
I had a similar issue, I was getting the google keep icon instead of chrome. It seems to be a common issue with Docky, see http://wiki.go-docky.com/index.php?title=How_to_Customize_Window_Matching
I simply followed their instructions, but to simplify:
- run:
xprop | grep WM_CLASS | awk '{print $4}' - This will give you a '+' shaped pointer. Use it to click on your Chrome window. It will output the name, I got 'Google-chrome'
- Open
/usr/share/applications/google-chrome.desktopfor editing and addStartupWMClass=Google-chromeor whatever you got in step 2 without quotes - stop Docky and run:
rm ~/.cache/docky/docky.desktop.*.cache - Restart and the icon should be correct.
- 9,701
- 5
- 37
- 52
- 161
- 2
What I do is click and drag the correct icon from the /usr/share/applications directory right into the dock. This eliminates duplicate icon conflicts, but if there is only one Google Chrome icon in this directory, and its .desktop file is titled google-chrome.desktop (like it was for me on a recent Chrome install), then you will need to save the .desktop file as google-chrome-stable and then drag this new .desktop file's icon into the dock.
- 111
- 1
Just run:
sudo sed -i '/Group\]\|Desktop Entry/a StartupWMClass=Google-chrome-stable' /usr/share/applications/google-chrome.desktop && rm ~/.cache/docky/docky.desktop.*.cache
then restart docky and enjoy (reference article).
- 101
- 3