cd /usr//usr/share/applications
vim name.desktop
添加如下
[Desktop Entry]
Version=1.0
Name=sublime_text
GenericName=Web Browser
Exec=/home/turtle/SublimeText2/sublime_text %U
Terminal=false
Icon=/home/turtle/SublimeText2/Icon/128x128/sublime_text.png
Type=Application
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml_xml;image/webp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
X-Ayatana-Desktop-Shortcuts=NewWindow;NewIncognito
[NewWindow Shortcut Group]
Name=New Window
[NewIncognito Shortcut Group]
Name=New Incognito Window
Exec=/home/turtle/SublimeText2/sublime_text --incognito
TargetEnvironment=Unity