ubuntu 软件桌面图标创建

sublime text 的安装目录是:/usr/local/sublimetext
$cd 桌面
$vim Sublime\ Text.desktop
添加如下内容:
[Desktop Entry]
Version=1.0
Type=Application
Icon[zh_CN]=/usr/local/sublimetext/Icon/32×32/sublime_text.png
Name[zh_cn]=Sublime Text 2
Exec=/usr/local/sublimetext/sublime_text
Icon=/usr/local/sublimetext/Icon/32×32/sublime_text.png
Name[en_US]=Sublime Text

修改 Sublime Text.desktop 的权限
$chmod 755 Sublime\ Text.desktop

posted @ 2017-06-16 10:47  黑手党老k  阅读(...)  评论(... 编辑 收藏