I installed Sublime Text, followed above link and created sublime.desktop in my /usr/share/applications folder. I edited it as suggested. This is what is present in that file(after editing).
[Desktop Entry] Version=1.0 Name=Sublime Text 2 *#Only KDE 4 seems to use GenericName, so we reuse the KDE strings.* *#From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413.* GenericName=Text Editor Exec=sublime Terminal=false Icon=/usr/lib/Sublime Text 2/Icon/48x48/sublime_text.png Type=Application Categories=TextEditor;IDE;Development X-Ayatana-Desktop-Shortcuts=NewWindow [NewWindow Shortcut Group] Name=New Window Exec="/opt/Sublime\ Text\ 2 /sublime_text" --new-window TargetEnvironment=Unity
Even now, the launcher icon is not working. How do I solve this issue?
Specifications: Ubuntu 12.04LTS and Unity