Actions extensions in File Managers - New parameters
pwieser at trychlos.org
Tue Aug 3 08:12:54 PDT 2010
----- "PCMan" <pcman.tw at gmail.com> a écrit :
> How should this parameter work if the selected files are of different
> mime types?
> Is this going to be a list of mime-types of every selected file?
This new parameter would work like %b/%B, %f/%F, %u/%U, %w/%W and
%m would bring the mimetype of the 'first' selection item (will all
the precautions we already saw on what is the first item),
and %M would give a space-separated list of mimetypes.
> For me, this is only useful for Exec key since you can pass this to
> the command to let it do different things for different mime-types.
> If this parameter is supported, its use should be limited to Exec,
> and %M should be used in conjunction with %F or %U while %m should
> only be used with %f and %u. Otherwise this looks ok to me.
> On Tue, Aug 3, 2010 at 5:41 PM, Pierre Wieser <pwieser at trychlos.org>
>> Hi all,
>> I would suggest to add %m/%M parameters to the DES-EMA
>> specification  in order to get mimetypes of items selected
>> in the file manager.
>> What do you think about that ?
>> Thanks in advance for your answer.
>>  http://www.nautilus-actions.org/?q=node/377
More information about the xdg