Add the following as a .desktop file :
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Sample Application Name
Comment=A sample application
Exec=application
Icon=application.png
Terminal=false
Explanation :
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Sample Application Name
Comment=A sample application
Exec=application
Icon=application.png
Terminal=false
Explanation :
| Line | Description |
| [Desktop Entry] | The first line of every desktop file and the section header to identify the block of key value pairs associated with the desktop. Necessary for the desktop to recognize the file correctly. |
| Type=Application | Tells the desktop that this desktop file pertains to an application. Other valid values for this key are Link and Directory. |
| Encoding=UTF-8 | Describes the encoding of the entries in this desktop file. |
| Name=Sample Application Name | Names of your application for the main menu and any launchers. |
| Comment=A sample application | Describes the application. Used as a tooltip. |
| Exec=application | The command that starts this application from a shell. It can have arguments. |
| Icon=application.png | The icon name associated with this application. |
| Terminal=false | Describes whether application should run in a terminal. |
Comments
Post a Comment