Ubuntu 16.04 Eclipse launcher icon problems
Solution 1
I have been able to resolve this by just removing the eclipse.desktop file from ~/.local/share/applications
and then exiting and launching eclipse again:
I followed this solution: https://askubuntu.com/a/735924
Solution 2
I had a similar problem. I tried ScottC's answer mentioned here. I created the .desktop file on my desktop location, added the exec path as <eclipse installation directory>/eclipse
and icon path as <eclipse installation directory>/icon.xpm
and then pinned it to the launcher. This worked for me.
Related videos on Youtube
Admin
Updated on September 18, 2022Comments
-
Admin over 1 year
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.
-
AFP_555 over 6 yearsThis worked for me. I freaked out a little after my icon's image turned to a "?", but then it went back to the STS icon.
-
Pupil over 5 yearsThanks for the nice answer. A detailed answer is appreciated.
-
StrugglingCoder over 3 years@Baalmart Worked like a charm