Wednesday 10 September 2014

How to create desktop shortcut for eclipse on Ubuntu

This tutorial shows how to create desktop shortcut for eclipse on Ubuntu.
STEPS
----------
For this example eclipse is first extracted to the a folder where you want to keep it.

1) Create a text file on Desktop and type the following line:

[Desktop Entry]
Name=Eclipse
Exec=/path to eclipse directory/eclipse/eclipse
Icon=/path to eclipse directory/eclipse/icon.xpm
Type=Application

2) Click Save it on Desktop with name as: "eclipse.desktop"
3) Close gedit
4) Right-click eclipse.desktop
5) Click Properties
6) Click Permissions
7) Check Allow executing file as program
8) Click Close
9) Eclipse shortcut is ready!

1 comment:

  1. Thanks man, I think this is the universal way to create any desktop shortcut in Ubuntu?

    ReplyDelete