First, create a .desktop file to eclipse:
Then, paste this inside (dont forget to edit Exec and Icon values):
After that, open that folder with nautilus:
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:
Finally drop
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=** something like /opt/eclipse/icon.xpm **
Exec= ** something like /opt/eclipse/eclipse **
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.
Comments
Post a Comment