-
Create a ?.desktop file in the directory on the desktop, and fill in the following information in the file:
[Desktop Entry] Version=1.0 # Program version to start (optional) Type=Application # Type needs to be specified as Application (required) Name=XXX # Name of the shortcut (optional, but if not provided, it will be unnamed) Comment=XXX XXXXXX # Description (optional) Exec=/XXX/XXXX/XXX # Path to the executable file (required) Icon=/XXX/XXXX/XXX.png # Icon name (optional, but if not set, it will be the default icon) Terminal=false # Whether to open the terminal (optional)
-
Right-click on the file, and click on "Allow to Launch"