标签归档:desktop

ubuntu下新建sublime_text桌面图标

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