|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
How to apply actions to multiple filesHi 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 _______________________________________________ Thunar-dev mailing list Thunar-dev@... http://foo-projects.org/mailman/listinfo/thunar-dev |
|
|
Re: How to apply actions to multiple filesTino 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 If you want you can send a patch and I will add the functionality to my maintained custom actions system. (regular debian/ubuntu packages) (security cert autority, so you don't have to accept any exceptions) http://www.cacert.org/index.php?id=3 (custom actions) https://secure.powercraft.nl/svn/packages/trunk/source/pct-thunar-scripts/pct-thunar-scripts-devel/ (installer) https://secure.powercraft.nl/svn/packages/trunk/source/pct-thunar-scripts-setup/pct-thunar-scripts-setup-0.0.20081208/ BTW a new release will be made very soon. Best regards, Jelle de Jong _______________________________________________ Thunar-dev mailing list Thunar-dev@... http://foo-projects.org/mailman/listinfo/thunar-dev |
|
|
Re: How to apply actions to multiple filesOn 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 _______________________________________________ Thunar-dev mailing list Thunar-dev@... http://foo-projects.org/mailman/listinfo/thunar-dev |
|
|
Re: How to apply actions to multiple filesTino Keitel wrote:
> 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? remove the current custom action thunar -q to kill current thunar add custom action make use to use * as patterns en true for image file check thunar -q to kill the current thunar and restart and test the custom action. Best regards, Jelle _______________________________________________ Thunar-dev mailing list Thunar-dev@... http://foo-projects.org/mailman/listinfo/thunar-dev |
|
|
Re: How to apply actions to multiple filesOn Tue, Jul 07, 2009 at 18:48:43 +0200, Jelle de Jong wrote:
> Tino Keitel wrote: > > 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? > > remove the current custom action > > thunar -q to kill current thunar > > add custom action make use to use * as patterns en true for image file check > > thunar -q to kill the current thunar and restart and test the custom action. I repeated this (actually, it was the same I tried before, without the thunar -q calls), but got the same result. The custom action is visible when 1 file is selected, but not visible if 2 files are selected, so it is useless for my task. At least I don't see the entry in the context menu. Regards, Tino _______________________________________________ Thunar-dev mailing list Thunar-dev@... http://foo-projects.org/mailman/listinfo/thunar-dev |
|
|
Re: How to apply actions to multiple filesTino Keitel wrote:
> On Tue, Jul 07, 2009 at 18:48:43 +0200, Jelle de Jong wrote: >> Tino Keitel wrote: >>> 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? >> remove the current custom action >> >> thunar -q to kill current thunar >> >> add custom action make use to use * as patterns en true for image file check >> >> thunar -q to kill the current thunar and restart and test the custom action. > > I repeated this (actually, it was the same I tried before, without the > thunar -q calls), but got the same result. The custom action is visible > when 1 file is selected, but not visible if 2 files are selected, so it > is useless for my task. At least I don't see the entry in the context > menu. > I will do some testing later this day, I have seen this behavior one time before, but wasn't directly able to fix it too. Best regards, Jelle _______________________________________________ Thunar-dev mailing list Thunar-dev@... http://foo-projects.org/mailman/listinfo/thunar-dev |
| Free embeddable forum powered by Nabble | Forum Help |