Add sublime text start icon under Ubuntu

Source: Internet
Author: User
Tags sublime text



There is no shortcut under Ubuntu One says, if you want to quickly open sublime text, you can create sublime text launcher icon



1. Create a blank document Sublime.desktop, pay attention to the permissions


VI /usr/share/applications/sublime.desktop





2. Write the contents of the document


[Desktop Entry]
Version=2.0.1
Name=Sublime Text 2
GenericName=Text
Terminal=false
Icon=/usr/local/Sublime Text 2/Icon/48x48/sublime_text.png
Type=Application
Categories=TextEditor;IDE;Development
Exec=/usr/local/"Sublime Text 2"/sublime_text %F
StartupNotify=true
#Note: where modification is needed
#Name: that's the name
#Comment: equivalent to comment
#Exec: path to executable
#Icon: path to icon file
#% F: be able to display this program in the "start in other ways" list 





3. Double-click Start Sublime Text and then lock to Launcher, then click on the icon in Launcher to play happily ^_^






Add sublime text start icon under Ubuntu


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.