eg.
add sublime text to launcher so as to be found by launcher, docky, etc.
add a file
sudo gedit /usr/share/applications/sublime.desktop
set content as follows:
[Desktop Entry]
Name=SublimeText
Type=Application
Exec=/opt/SublimeText2/sublime_text
Terminal=false
Icon=/opt/SublimeText2/Icon/48x48/sublime_text.png
Comment=Sublime Text Editor
NoDisplay=false
Categories=Development;IDE
Name[en]=sublime text