Atem18 is correct. Do this if you want your launchers to be available system wide. This is how I automated creating launchers. This assumes you have already installed gnome-panel.
1- open terminal
2- mkdir /home/"your-user-name"/bin or right click on your home file browser and make folder bin.
3- $ source .profile or logout and login
4- gedit in terminal or from dash
- #!/bin/sh
- sudo gnome-desktop-item-edit /usr/share/applications/ --create-new)
Don't use the hyphens/bullets and no need to indent.
5- Give it a name with no spaces save to your new bin directory and then make executable(chmod a+x launcher-script) or right click goto properties> Permissions and click the execute box.
6- now in terminal: $ sudo gnome-desktop-item-edit /usr/share/applications/ --create-new
7- You should have the Create Launcher gui open.
Type = Application in Terminal THIS ONLY APPLIES THIS TIME. Most of the time it will be Application after this.
8- You can name what you wish. NO-SPACES-ALLOWED I called mine Create-Launcher
9- In the command field put the path to the script from step 3
/home/mike/bin/launcher-script Use your user name and the actual file name you created.
10- Click the spring to add an icon. I made on on the Gimp but there are lots of icons you could use that are very generic and already installed. Click the spring and it will take you to some.
11- Once you're finished click ok. Now you can navigate your file browser down to /usr/share/applications and you will find your new launcher. Simply drag it to your launcher bar and you are ready to go. This process puts your launchers in a place where all users can access them. Most of what I have found puts thing on the desktop which might be fine for some but not for me. I hope you find this helpful.
Now you can easily create your eclipse launcher and any others too.
After thought, every time you create a new launcher you will have to enter your password. This is necessary to make the new launcher accessible to all users. It will belong to root and the group will be root this way. That is the way the rest of the system comes configured. If you cd to /usr/share/applications, type ls -l and, verify for yourself. Ubuntu should have supplied their os with an application already installed for creating launchers. There are other things I disagree with like the screensaver and no short cut to the desktop. I have only been on 11.10 for a couple days. I am going to give it the college try. If I still don't like it in a month I will fix it then.
/bin/shpart in the Exec section. Remove it and it should work. By the way, what is your username? – Salem Aug 7 '12 at 12:38