Loading

ubuntu 下添加sublime 启动图标

vi /usr/share/applications/sublime.desktop

[Desktop Entry]
Version=3.2.2
Name=sublime_text_3
GenericName=Text
Exec=/opt/sublime_text_3/sublime_text %F
Icon=/opt/sublime_text_3/Icon/48x48/sublime-text.png
Terminal=false
StarttupNotify=true
Type=Application
Categories=Application;IDE;Development

注:

# Name      就是名称了
# Comment   相当于注释
# Exec      可执行文件的路径
# Icon      图标文件的路径
# %F        能够让这个程序显示在"以其它方式启动"的列表中

posted @ 2020-04-17 09:33  Outsrkem  阅读(240)  评论(0编辑  收藏  举报