I am running Ubuntu 16.04 LTS, with the latest version of Eclipse installed from their website. In the Unity Launcher bar to the left, I can't get the icon for Eclipse to be anything except a question mark. I have created a .desktop file with the appropriate paths for Exec= and Icon= , and I have made the item executable via chmod. The functionality of the .desktop file is not a problem. I just can't get the icon that shows up to change.
The name does change from Eclipse to Workspace Launcher when Eclipse finally starts. Any help would be much appreciated.
EDIT: the code:
[Desktop Entry] Exec=/home/**removed**/eclipse/java-mars/eclipse/eclipse StartupNotify=true Terminal=false Type=Application Icon=/usr/share/icons/eclipseIcon.xpm
*username removed for security purposes.
EDIT: Reinstalling fixed any and all Eclipse problems that I had.