Ubuntu locks the software (Sublime Text 2) to the starter.

Source: Internet
Author: User

In Ubuntu, open an installed software, and right-click the icon opened on the Launcher to lock the software to the starter or unlock it from the starter.

However, there are a lot of software that can be directly decompressed after downloading and can be used without installation. In this case, when the above method is used to lock the timing, it will often fail, or it may seem that it has been locked, however, if you want to open it again, it does not respond, or the icon is not a familiar software Icon, but some default icons. This is because this type of software lacks a configuration file named Desktop Entry. The following describes how to add the file by yourself. Take Sublime Text 2 as an example.

1. Open the terminal, find the applications directory, and enter sudoGedit sublime-text.desktop

 

2. Edit and save the following in open gedit.

= UTF-8 = 2.0 =/home/ntt/software/SublimeText2/Icon/48x48/sublime_text.pngName = Sublime Text 2 =/home/ntt/software/SublimeText2/Icon/ 48x48/sublime_text.pngName [zh_CN] = Sublime Text 2 =/home/ntt/software/SublimeText2/sublime_text % F

3. Open sublime, right-click the initiator, and lock

OK, so that the software can be successfully locked on the starter.

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.