For the downloaded .tar.gz decompression software, by running .sh or other file to open the terminal software is very troublesome, it can set to perform the following three-step program icon
-
First create
软件名.desktop
-
The following are the Chinese want to change, you can write up the absolute path name of the software and software as well as icons.
Where: icon If the downloaded program does not correspond to the picture of the program, then you can search the Internet to the corresponding picture.
absolute path, after the terminal can open the file location, bypwd
viewing location to location software and then add software name.[Desktop Entry] Name=软件名 GenericName=Editorubuntu / linux Comment=软件名 - a 软件描述 Exec="软件的绝对路径" %U Icon=图标的绝对路径 Terminal=false StartupNotify=false Type=Application ```
-
Move the file to
sudo mv 软件名.desktop /usr/share/applications
By these three steps to complete a program icon as windows executable executable file to set out, by clicking to open.
Can refer to this Typora settings to set the corresponding software, the reason is the same.