By default, all shortcuts to the system are placed in /usr/share/applications, which opens the directory to see a large number of. desktop files, each of which is a shortcut.
Sometimes we need to install the software ourselves and then add shortcuts. The main structure of the file is:
1 [Desktop Entry] 2 name=Android Studio3 comment= This isAndroid studio4 Exec=/home/xiaobu /developmenttools/androidstudio/bin/studio. SH 5 icon=/home/xiaobu/developmenttools/androidstudio/bin/studio.png6 terminal= False7 type=application8 categories=application;
Where name is the shortcut name; Comment: comment; Exec (this is key): Start the script to write the full path. Icon: The file name and path of the icons. Terminal: Whether to start with terminal.
If you want to put it on the desktop, you can copy the file to the home directory \ Desktop folder.
Ubuntu/deepin making a Quick Launch icon