I have searched a great deal and have been unable to find an answer to this. What does the TryExec
field do in .desktop files? How does it differ from the Exec
field?
The TryExec field in .desktop files
desktop
desktop
I have searched a great deal and have been unable to find an answer to this. What does the TryExec
field do in .desktop files? How does it differ from the Exec
field?
Best Answer
According to standards.freedesktop.org, the
TryExec
entry takes the following:Desktop Application Autostart Specification states:
Unlike
Exec
and despite the similar name,TryExec
does not actually execute it's value.