Centos Installation Sublime Text 3

Source: Internet
Author: User



1. Download Sublime3



Http://www.sublimetext.com/3






2. Unzip, which is the installation.

# cd / opt
# tar xjf /home/alex/Downloads/sublime_text_3_build_3114_x32.tar.bz2
# mv / opt / sublime_text_3 / opt / sublime_text_3_32
# cd / opt / sublime_text_3_32
# ./sublime_text
The strange thing is not normal.

 

3. Change to desktop configuration startup

# cp -p /opt/sublime_text_3/sublime_text.desktop / usr / share / applications
 

Change the configuration file, mainly to modify the file directory

[Desktop Entry]
Version = 1.0
Type = Application
Name = Sublime Text
GenericName = Text Editor
Comment = Sophisticated text editor for code, markup and prose
Exec = / opt / sublime_text_3_32 / sublime_text% F
Terminal = false
MimeType = text / plain;
Icon = / opt / sublime_text_3_32 / Icon / 48x48 / sublime-txt.png
Categories = TextEditor; Development;
StartupNotify = true
Actions = Window; Document;

[Desktop Action Window]
Name = New Window
Exec = / opt / sublime_text_3_32 / sublime_text -n
OnlyShowIn = Unity;

[Desktop Action Document]
Name = New File
Exec = / opt / sublime_text / sublime_text_3_32 --command new_file
OnlyShowIn = Unity;
 

4. Open the software.

Applications> Programming> Sublime Text "Right click" to add this launcher to the desktop ".

 

Centos install Sublime text 3

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.