gtk-launch expands %F only once per Exec line
If a %F field code occurs more than once in a desktop file Exec line, e.g.:
Exec=mycommand --option1 "something %F" --option2 %F
then gtk-launch only expands the first %F and blanks out the second one. Launching via Applications menu expands both as expected.
I realize that the freedesktop desktop spec says "Field codes are expanded only once, the string that is used to replace the field code should not be checked for field codes itself." BUT I think that only means there should be no recursive expansion, not that a field code should occur only once per Exec line.