First, create a .desktop file to eclipse:
gedit ~/.local/share/applications/opt_eclipse.desktop
Then, paste this inside (dont forget to edit Exec and Icon values):
[Desktop Entry] Type=Application Name=Eclipse Comment=Eclipse Integrated Development Environment Icon=/home/manish/sts-3.7.1.RELEASE/icon.xpm ** Exec=/home/manish/sts-3.7.1.RELEASE/STS Terminal=false Categories=Development;IDE;Java; StartupWMClass=Eclipse
After that, open that folder with nautilus:
nautilus ~/.local/share/applications
If you want to use this launcher outside dash/launcher (ex: as a desktop launcher) you need to add execution permission by right clicking the file and choosing Properties -> Permissions -> Allow execution, or, via the command-line:
chmod +x ~/.local/share/applications/opt_eclipse.desktop
Finally drop opt_eclipse.desktop
to launcher.
Thanks & Regards
Manish Kumar
9310118767/7836803101
No comments:
Post a Comment