Summary: | Rotate Image does not work in directories with spaces in their names | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Bjoern Wolf <bjoern.wolf> |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Bjoern Wolf
2003-06-21 13:10:39 UTC
Oh, further investigation revealed that the "Rotate" menu is a knoppix-specific servicemenu. So I fixed it and reported the fix to the appropriate person from the KOPPIX team We do have a rotate menu in our KDE releases. That means we would be interested in your fix as well ;-) Well, the corresponding Knoppix service menus are /usr/share/apps/konqueror/servicemenus/rotate_jpg.desktop /usr/share/apps/konqueror/servicemenus/rotate_png.desktop referring to Exec=jpegtran-wrapper %u -rotate 270 (and so on) aka /usr/bin/jpegtran-wrapper, a script containing the following lines #!/bin/bash FILE="$1" shift jpegtran "$@" -copy all -outfile "$FILE.tmp$$" "$FILE" && mv -f "$FILE.tmp$$" "$FILE" I simply sorrounded the parms of jpegtran by quotes (exactly as quoted above). That's all. |