[Thunar-workers] [Thunar File Manager] page changed: documentation:custom_actions

thunar-workers at xfce.org thunar-workers at xfce.org
Sat Dec 12 05:27:24 CET 2009


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2009/12/12 04:27
Browser     : Opera/9.80 (X11; Linux i686; U; de) Presto/2.2.15 Version/10.10
IP-Address  : 84.180.142.13
Hostname    : p54B48E0D.dip0.t-ipconnect.de
Old Revision: http://thunar.xfce.org/pwiki/documentation/custom_actions?rev=1260095592
New Revision: http://thunar.xfce.org/pwiki/documentation/custom_actions
Edit Summary: replaced the rotren-command with the fixed jpegtran one (-copy all). rotren changes only the orientation flag which doesn't work with all applications.
User        : malenki

@@ -90,16 +90,17 @@
      * 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: ''renrot --only-orientation --no-rename --no-trim -r 90 %F''
+     * Command: ''for file in %F; do tempfile=$(mktemp); (jpegtran -copy all -rotate 90 $file > $tempfile); mv -f $tempfile $file; rm -f $tempfile; done''
      * File pattern: *.jpg;*.JPG;*.jpeg;*.JPEG
      * Appears if selection contains: JPEG Image Files
- **Note:** [[http://puszcza.gnu.org.ua/projects/renrot/|renrot]] is a tool in perl available at repositories of the most distributions.
+ **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.
  
  ==== 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