sublime_text_3下载安装

sublime text3 下载地址

解压到适合的目录下(本文/home/scutscct)

创建软链接

sudo ln -s 解压目录/sublime_text_3/sublime_text /usr/bin/sublime_text

创建图标

sudo cp 解压目录/sublime_text_3/sublime_text.desktop /usr/share/applications/

修改图标的相关设定:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Sublime Text
GenericName=Text Editor
Comment=Sophisticated text editor for code, markup and prose
Exec=/home/scutscct/sublime_text_3/sublime_text %F
Terminal=false
MimeType=text/plain;
Icon=/home/scutscct/sublime_text_3/Icon/256x256/sublime-text.png
Categories=TextEditor;Development;
StartupNotify=true
Actions=Window;Document;

[Desktop Action Window]
Name=New Window
Exec=/home/scutscct/sublime_text_3/sublime_text -n
OnlyShowIn=Unity;

[Desktop Action Document]
Name=New File
Exec=/home/scutscct/sublime_text_3/sublime_text --command new_file
OnlyShowIn=Unity;

你可能感兴趣的:(sublime_text_3下载安装)