De acordo com standards.freedesktop.org , o TryExec
entrada leva o seguinte:
Path to an executable file on disk used to determine if the program is actually installed. If the path is not an absolute path, the file is looked up in the $PATH environment variable. If the file is not present or if it is not executable, the entry may be ignored (not be used in menus, for example).
Especificação de início automático do aplicativo de área de trabalho declara:
A .desktop file with a non-empty TryExec field MUST NOT be autostarted if the value of the TryExec key does NOT match with an installed executable program.
Ao contrário de Exec
e apesar do nome semelhante, TryExec
não executa realmente seu valor.