Shortcut name
app_name.desktop
path:
/usr/share/applications/app_name.desktop
# Concise format Shortcuts
[Desktop Entry] Name=app_name Type=Application Exec=/opt/app_name/app Icon=/opt/app_name/app/icon
################################################## #
launcher shortcut way to resolve:
# Desktop. Entrance [ Desktop the Entry ] # Name [Required] the Name = app_name # type [Required] Type = the Application # starter path Exec = / opt / app_name / App # Icon Path Icon = / opt / app_name / App / icon # generic name GenericName = app_name # Chinese name the name [zh_CN] = app_name # English name of the name [en_US] = app_name # various file names the name [...] = app_name # file description = The Comment app_name _detail_info # whether the terminal starts Terminal = false # specify the encoding format Encoding = UTF-8 # version of the software Version 1.0 = # Category is: the application the Categories = the Application # whether to activate the notification StartupNotify = to true # index key Keywords = app_name # relevance format, player, editor, etc. need to set the MimeType = related file formats
#
Which required only two parameters:
name and type
just to have the name and type is already a mature shortcut, but useless.
So there should be the starter path.
So there should be a nice icon.
So at least need to pass these four parameters. The remaining parameters added as needed.