ubuntu add application to launcher

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

 

posted @ 2016-04-03 18:41  tommy.yu  阅读(671)  评论(0编辑  收藏  举报