Install SublimeText2 in Ubuntu

Source: Internet
Author: User
It is really comfortable to use Sublime. The installation method is very simple. Go to the official website http://www.sublimetext.com/2to download your sublimetext2 and then decompress the file. Move the decompressed file to sudomvSublime \ Text \ 2/usr/lib/Under/usr/lib/and add a terminal shortcut command to it, in the future, you can enter subl on the terminal to open sublime sudoln.

It is really comfortable to use Sublime. The installation method is as follows:

Go to http://www.sublimetext.com/2to download your sublime Text 2 and decompress the file.

Move the extracted file to/usr/lib /.

Sudo mv Sublime \ Text \ 2/usr/lib/

Add a terminal shortcut command to it. You can open sublime after entering subl on the terminal.

Sudo ln-s/usr/lib/Sublime \ Text \ 2/sublime_text/usr/bin/subl

To locate it in dash, we can create a/usr/share/applications/sublime. desktop file.

Sudo subl/usr/share/applications/sublime. desktop

Add the following code:

[Desktop Entry]
Version = 1.0
Name = Sublime Text 2
# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413.
GenericName = Text Editor

Exec = subl
Terminal = false
Icon =/usr/lib/Sublime Text 2/Icon/48x48/sublime_text.png
Type = Application
Categories = TextEditor; IDE;
X-Ayatana-Desktop-Shortcuts = NewWindow

[NewWindow Shortcut Group]
Name = New Window
Exec = subl-n
TargetEnvironment = Unity

Now you can use Sublime Text 2 happily!

To solve the problem of Chinese Input, see: http://www.linuxidc.com/Linux/2014-02/96400.htm

Reading:

Ubuntu 12.10 install and crack Sublime Text 2Http://www.linuxidc.com/Linux/2013-07/86898.htm

Ubuntu 13.04 install Sublime Text 2 http://www.linuxidc.com/Linux/2013-05/84228.htm

Code artifact-Sublime Text package management tools and extensions Daquan http://www.linuxidc.com/Linux/2013-10/91701.htm

How to Develop Sublime Text 2 plug-in http://www.linuxidc.com/Linux/2013-09/90046.htm

Install and crack Sublime Text 2 editor http://www.linuxidc.com/Linux/2013-08/89452.htm in Windows Mac Linux

Text Editor Sublime Text experience http://www.linuxidc.com/Linux/2013-08/89326.htm

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.