[devel] Упаковка metainfo, appdata, applicattions...

Vladislav Zavjalov slazav на altlinux.org
Вт Окт 10 16:18:24 MSK 2023


On Tue, Oct 10, 2023 at 04:13:20PM +0300, Paul Wolneykien wrote:
>   То есть .desktop без Exec (c TryExec, который ничего не
> нашёл) не отображается в меню? Это стандартное и предусмотренное
> поведение?

https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#idm140676267060848

TryExec: 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).

Написано "may be ignored", видимо, к этому надо стремиться. А как в
реальной жизни - не знаю.



Подробная информация о списке рассылки Devel