Linux Mint creates Application menus and Desktop shortcuts

Source: Internet
Author: User
Tags linux mint

Linux Mint creates Application menus and Desktop shortcuts
In Linux, it is inconvenient to find a program in the corresponding path when you use software (such as Eclipse) that can be decompressed. If you want to say this is not simple, it is convenient to directly add the corresponding environment variables and name the application in the terminal, I can only say that I have not reached the realm of using only a keyboard to operate a computer. If I have reached that realm, it would be better for me to directly use a terminal to work with VIM, those tools do not need to be downloaded. However, creating an application menu or desktop shortcut in Linux is really not as convenient as in Windows (of course, it is not very nice), for example, it is obviously better on the left. Well, let's get started. Linux Mint user-defined menu is in the following directory

1 ~ /. Local/share/applications/This is a hidden folder in the Home directory. Press Ctrl + H to display the hidden file (folder). Now, Android-studio is used as an example, ctrl + Alt + T call Terminal
1 gedit ~ /. Local/share/applications/xxx. desktop # Where xxx arbitrary name add content 1 [Desktop Entry] 2 Encoding = UTF-83Type = Application4Terminal = false5Exec = app path/android-studio/bin/studio. sh6Categories = Application; Development; 7 Name = Application Name 8 Comment = "Android Development IDE (this can be omitted) "9 Icon = path of the application Icon/android-studio/bin/idea.png
Paste my instance

1 [Desktop Entry] 2 Encoding = UTF-83Type = Application4Terminal = false5Exec =/home/demo/Program/android-studio/bin/studio. sh6Categories = Application; Development; 7 Name = AndroidStudio8Comment = "Android Development IDE" 9 Icon =/home/demo/Program/android-studio/bin/idea.png when the cursor points to AndroidStudio, it is easy to create a desktop shortcut in the lower right corner of the menu. Right-click AndroidStudio and choose "add to desktop ".

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.