[Thunar-workers] [Thunar File Manager] page changed: documentation:custom_actions
thunar-workers at xfce.org
thunar-workers at xfce.org
Sun Dec 6 11:33:12 CET 2009
A page in your DokuWiki was added or changed. Here are the details:
Date : 2009/12/06 10:33
Browser : Opera/9.80 (X11; Linux i686; U; de) Presto/2.2.15 Version/10.10
IP-Address : 84.180.146.99
Hostname : p54B49263.dip0.t-ipconnect.de
Old Revision: http://thunar.xfce.org/pwiki/documentation/custom_actions?rev=1224128981
New Revision: http://thunar.xfce.org/pwiki/documentation/custom_actions
Edit Summary: substituted the exif-killing jpegtran command with a working one using renrot
User : malenki
@@ -90,15 +90,16 @@
* File pattern: *.png
* Appears if selection contains: Image Files
**Hint:** ''`basename %f .png`.jpg'' (be careful--those are //back//ticks) will strip the old .png extension off of the original filename.
+
==== Losslessly Rotating JPEGs ====
* Name: **Rotate Clockwise**
- * Command: ''for file in %F; do tempfile=$(mktemp); (jpegtran -rotate 90 $file > $tempfile); mv -f $tempfile $file; rm -f $tempfile; done''
+ * Command: ''renrot --only-orientation --no-rename --no-trim -r 90 %F''
* File pattern: *.jpg;*.JPG;*.jpeg;*.JPEG
* Appears if selection contains: JPEG Image Files
- **Note:** jpegtran is available as part of the libjpeg or libjpeg-progs packages of most distributions. Unlike using "convert", the complicated loop structure is necessary with "jpegtran": "jpegtran -rotate 90 -outfile %F %F" will produce a 0kb file.
+ **Note:** [[http://puszcza.gnu.org.ua/projects/renrot/|renrot]] is a tool in perl available at repositories of the most distributions.
==== Opening a terminal ====
* Name: **Open in a terminal**
* Command: ''%%terminal --default-working-directory=%d%%''
--
This mail was generated by DokuWiki at
http://thunar.xfce.org/pwiki/
More information about the Thunar-workers
mailing list