How to fix sublime text in Linux to launcher

  
                

Sublime Text is a code editor that supports Linux and other operating systems. In Linux, you need to fix Sublime Text to the launcher and click to start. How to implement it? The following small series will give you a detailed introduction.

So, how can programs that can be locked in the Launcher and clicked to start?

Enter the following command in your terminal:

cd /usr/share/applications/

ll

You will see many .desktop The end of the file (roughly as shown below), these are the configuration files that can be clicked in the Launcher and have a beautiful icon, called Desktop Entry.

Next, we'll create a Sublime Text of Desktop Entry.

Please enter the following command in the terminal (please switch to the /usr/share/applications directory first):

sudo gedit sublime-text.desktop

Then enter the text editor , enter the information as shown below:

where, icon is the path icon is located, name is the name you want to appear in the Launcher, Comment is explained. Maybe there is a child's boot to ask, this "%F" is doing, in fact, this is the name that can make this program appear in the "start" & rdquo; in other ways!

Note: The path here must use all the decision paths.

After saving, you can double-click to launch Sublime Text, then lock to the Launcher, close Sublime Text, and click the icon in the Launcher to start the program!

The above is the method of fixing sublime text to launhcher under Linux. If you think the picture of the software is not good, you can use the method in the text to solve it. Have you learned it?

Copyright © Windows knowledge All Rights Reserved