Fix double Google Chrome icon in Elementary OS Plank > stdout.in Ievgen Kuzminov IT blog

Fix double Google Chrome icon in Elementary OS Plank

Jun 26, 2014, 8:14:29 PM

chrome

After recent Google Chrome update I've got it's icon doubled in Plank (one copy is "locked" in dock, "another copy" appears when you launch Chrome).

To fix it you need to modify desktop launcher file
sudo gedit /usr/share/applications/google-chrome.desktop

Inside you can see 3 sections like "[Desktop Entry]", under each add a following line
StartupWMClass=Google-chrome-stable

Then close Chrome, remove icon fron Plank and restart Chrome. Then re-lock icon.

Troubleshooting

If you will get Your profile could not be opened correctly error on browser launch - try to kill all Chrome processes (some background one could lock your profile data) by
sudo killall -9 chrome

comments powered by Disqus
Ievgen
Kuzminov "iJackUA"
Web Team Lead
at MobiDev (Kharkiv, Ukraine)
Code in Ruby and Elixir, but still love PHP. Explore ES6 and Vue.js. Explore databases, use Ubuntu and MacOS, think about IT people and management

Notes


websocketd wrapper that turn any application that uses STDIO/STDOUT into a WebSocket server. Very interesting approach if you need a quick and dirty solution (maybe not even dirty).



How to add recursively .gitignore files to empty all dirs "find . -type d -regex ``./[^.].*'' -empty -exec touch {}"/.gitignore" \;"



Fix Skype sound noise on Ubuntu 13.10
"sudo sed -i 's/^Exec=.*/Exec=env PULSE_LATENCY_MSEC=30 skype %U/' /usr/share/applications/skype.desktop"