Post History
From the Desktop Entry Specification: A command line may contain at most one %f, %u, %F or %U field code. Try storing %F in a local variable and reusing the variable. Also, take care: %F wil...
Answer
#1: Initial revision
From the [Desktop Entry Specification](https://specifications.freedesktop.org/desktop-entry-spec/latest/exec-variables.html): > A command line may contain at most one %f, %u, %F or %U field code. Try storing %F in a local variable and reusing the variable. Also, take care: %F will in general expand to a list of files, which your current script will not adequately handle. Use %f instead if you want your desktop to invoke the command multiple times for multiple files.