I wanted to define Eclipse shortcuts in Ubuntu pointing to my individual workspaces.
You can define Eclipse shortcuts including parameters, e.g. the -data parameter via a .desktop file. Once defined you can drag the file into the Dash of Unity to get a new entry (including your shortcuts).
[Desktop Entry] Icon=application-x-executable Name=eclipse Type=Application Exec=/home/vogella/Eclipse37/eclipse -data /home/vogella/workspace/docu X-Ayatana-Desktop-Shortcuts=Docu;vogella; [Docu Shortcut Group] Name=Docu Exec=/home/vogella/Eclipse37/eclipse -data /home/vogella/workspace/docu TargetEnvironment=Unity [vogella Shortcut Group] Name=vogella Exec=/home/vogella/Eclipse37/eclipse -data /home/vogella/workspace/vogella TargetEnvironment=Unity
This should create an entry in the menu with two quick links to your workspaces.

Thanks to Holger Joest for helping with that on G+.



