How can run the executable file made - Linux

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

  1. First create软件名.desktop

  2. 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, by pwdviewing 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
    	```
    
  3. 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.

Typora installation binary files - Linux

He published 190 original articles · won praise 153 · views 90000 +

Guess you like

Origin blog.csdn.net/qq_36852780/article/details/103979875