How can I change the icon for an specified app? I have installed Dota 2 but it shows Steam icon instead of Dota 2 icon, the right Doat 2 icons is shown when the game is running but not in plank. How can I change or fix this?
You can change the icon of dota 2 going to
with a text editor like gedit or scratch, change this line
also, put this at the end of the file
and save the file.
If your dota 2 icon is a gear, you can install elementary community icons from https://github.com/mank319/elementaryPlus, follow the instructions there and you will have a nice dota 2 icon.
Sorry for my english.
I fixed this problem. Initially I wasn't able to find the
Dota\ 2.desktop. When I try the solution mentioned here using MainMenu I lost my app. So I created a back-up and reinstall.
After I reinstalled Dota2 I found the
Dota\ 2.desktop file and I replace the line:
I hope this helps.
As of 2017, Steam doesn't create .desktop files for games.
Instead, create a file called "Dota 2.desktop" and use the following template:
Comment=Play this game
Once this is saved, you can find it in the launcher. You can then keep it in the dock.