Install sublime Text3 under Linux and put its shortcuts in the launcher

Source: Internet
Author: User
Tags sublime text

Sublime text is a code editor, and I use it primarily to edit Python. Here is a simple description of the Linux installation process it!

1. Add a sublime Text3 warehouse

First press the shortcut key ctrl+alt+t open the terminal;

In terminal input:sudo add-apt-repository ppa:webupd8team/sublime-text-3

Press ENTER after a lot of information will appear, according to the prompt, press ENTER to continue

2. Update the SOFTWARE library:

Then in terminal input:sudo apt-get update

3. The final step is to install sublime TEXT3

Also in terminal input:sudo apt-get install Sublime-text-installer

After the installation is complete, you can search for sublime in your computer's folder and you will see the sublime_text you installed.

The general path is/opt/sublime_text/sublime_text

You can open it directly by double-clicking.

However, if we want to use it more conveniently, we need to put it into our launcher, how to join the launcher, and then do a brief introduction:

Put the sublime text shortcut into the initiator

1. In terminal input:cd/usr/share/applications/

Switch to/usr/share/applications/under this directory

2. Create a desktop Entry sublime text

Then in terminal input:sudo gedit sublime-text.desktop

3. After entering the text editor, enter the following information (depending on your situation to make the appropriate changes):

Icon is the path where the icons are located, and exec is the path to Sublime_text, just fill in the Click to save.

This will be OK, if you want to change the color of the icon can be followed by the previous method to edit the path is good.

Install sublime Text3 under Linux and put its shortcuts in the launcher

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.