a shortcut to run Eclipse on Ubuntu Unity and to register Eclipse with the left Launcher
In your terminal,
cd ~/.local/share/applications
wget https://gist.github.com/raw/2922285/eclipse.desktop
chmod u+x eclipse.desktop
vim eclipse.desktop
# edit eclipse.desktop to replace "<ECLIPSE_DIR>" with your eclipse directory
- In your terminal,
xdg-open ~/.local/share/applications
to open the directory with the file browser - Drag and drop the
eclipse.desktop
on Unity Launcher
It worked for me on 18.04 except for the drag and drop of eclipse.desktop to the launcher.
Instead, click on Activities, search for Eclipse, right click -> Add to favourites.