In case you also use the excellent and minimalistic dock plank on your box, you might want to change icons for it.
Now unfortunately changing icons the Gnome way won't work always with plank. The usual Gnome 3 way would be to go into your file manager, e.g. nemo and right click on the application in
/usr/bin/, select properties and drag and drop a new icon on the icon in the settings window.
However with plank this did not work for me, and in that case you should follow the next few steps.
Point plank to a new .desktop file
In case of Komodo Edit, an excellent Linux Programming Editor, you can achieve to change icons in the plank dock like this:
Open the App (Komodo) and make it sticky in the dock, this will create a
komodo.dockitemfile you will need later.
Now create a
sudo emacs .local/share/applications/komodo.desktop
Put the following content in that file:
[Desktop Entry] Name=Komodo Exec=/usr/bin/komodo Icon=/path/icon.png Type=Application
Then do a
sudo emacs ~/.config/plank/dock1/launchers/komodo.dockitem
and check if the
Launcherdirective is pointing to your komodo.desktop file as in
Congrats on having successfully changed icons in the plank dock! Thanks for reading.