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 ".