When editing the Applications menu, I see for some applications their commands have %U
such as gedit %U
and gnome-mplayer %U
, but others don't such as gcalctool
.
I was wondering what %U
means when calling a command, and when it is needed and when it is not? Thanks!
This is motivated from my previous question, where I followed a reply but did not make it work.
%U
means the program can take all of them in a single invocation;%u
means a separate invocation is needed for each object; if none of them are specified then the program doesn't know what to do with things dropped on it. There are other keys which allow the desktop manager to pass customization information to the program, and a separate set of selectors%f
,%F
, meaning it takes one/multiple files but not URLs. – geekosaur Mar 13 '11 at 20:22