Question on desktop file exec lines

Jerome Leclanche adys.wh at gmail.com
Mon Dec 23 01:38:02 PST 2013


See: http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html

I think I already know the answer to both but I'd like to double-check.

1) When dealing with desktop files that have %u or %U in the name, if
the argument is a relative file path, the file path should be made
absolute with getcwd(), correct?

2) When dealing with %f or %F, the file path should *not* be expanded, correct?

Cheers

J. Leclanche


More information about the xdg mailing list