> ...

Hello Martin,

thanks for the help.

Martin Stolle <[EMAIL PROTECTED]> writes:
 
> The "i" is part of the "if".  The command starts right after the "w".
> 
> Anyways, try this:
> 
> %wif convert -rotate 90 %p .tmp_%p; then mv .tmp_%p %p; else rm .tmp_%p;fi

converts needs at first filenam, then options then output-filename

Since I don't really understand the syntax [nor the help-text for the
customising of these commands *) ], I realized, that the .tmp_%p doesn't work,
cause geeqie creates something like like 
.tmp_/path/to/current/directory/file.png

> (Unfortunately, adding _tmp to the end of the temporary file doesn't
> work, as imagemagick tries to deduce the file format from the extension
> and doesn't know what to do with it).

I tried
  %wif convert %p -rotate 90 %p_tmp; then mv %p_tmp %p; else rm %p_tmp;fi
and
  %wif convert %p -rotate 270 %p_tmp; then mv %p_tmp %p; else rm %p_tmp;fi
and it works fine.

So with the new commands as 6th and 7th and the lines
  (gtk_accel_path "<Actions>/MenuActions/Editor7" "l")
  (gtk_accel_path "<Actions>/MenuActions/Editor6" "r")
in ~/.geeqie/accels it seems to work.

Werner


*) 
  %p
means something like $f in bash 
  for f in "selected files" ; do command $f ; done
'right?

Maybe the help-text should be something like
"%p puts the first filename of the selected files to every place where it
appears in the commandline and runs the whole command, then the second and so
on."


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel

Reply via email to