I've downloaded the Eclipse C/C++ IDE for 2018-09 and installed it by extracting the package in a folder. So I've created the following
Eclipse-CDT.desktop file in
/home/username/.local/share/applications/ to add the eclipse to the gnome menu and the launcher.
[Desktop Entry] Version=1.0 Name=Eclipse-CDT Comment=C\C++ IDE Type=Application Categories=Development;IDE; Exec=/home/username/apps/eclipse/eclipse Terminal=false StartupNotify=true Icon=/home/username/apps/eclipse/icon.xpm
I've also changed the
icon.xpm with the same dimensions. Consequently the
Eclipse-CDT with the new icon appears in the gnome menu and then we are able to add it to the launcher.
The problem is when I open it from menu or launcher, the former icon(which was removed) is appeared in the launcher as an active app, while the newly added one remains inactive. Why?
I'm using Ubuntu 18.04.