[Thunar-dev] How to apply actions to multiple files

Tino Keitel tino.keitel+xfce at tikei.de
Tue Jul 7 15:55:03 CEST 2009


On Tue, Jul 07, 2009 at 10:25:12 +0200, Jelle de Jong wrote:
> Tino Keitel wrote:
> > Hi folks,
> > 
> > I'd like to know how to apply a custom action to multiple selected
> > files. In this case, I have photos from my camera, which need to be
> > rotated manually if taken in portrait orientation (no builtin sensor).
> > I tried the custom actions, but they don't seem to work if more than
> > one file is selected. Is there a different way to do this?
> > 
> > Regards,
> > Tino
> 
> Hi Tino,
> 
> You can use something like this in the custom action config:
> 
> #Name:          Convert Image
> #Description:   Create special new image(s)
> #Command:       x-terminal-emulator -e
> /usr/share/pct-thunar-scripts/scripts/convert-image %F
> #Patterns:      *
> #Image Files:   True

As I wrote above, I already tried to add a custom action, which looked
pretty much like the one you suggested (unless I miss the point). But
it's useless, as it is not present in the context menu if I select more
than one file. Or am I doing something wrong?

Regards,
Tino




More information about the Thunar-dev mailing list