Thunar Custom Actions imageing

You add a new Custom Action by select Edit -> Configure custom actions...
Press on + button.

Convert png to jpg

Under Basic
Type a name: Convert png to jpg
Type in Command: convert %f -quality 75 `basename %f .png`.jpg
Choose an icon, for example gnome-mime-image

Under Appearance Conditions
Type in Filepattern: *.png;*.PNG
Select Image Files
Click OK
Click Close
When you right click on a png file can you select "Convert png to jpg"

Extract images from pdf

Under Basic
Type a name: Extract images from pdf
Type in Command: /path to/pdf2jpg.sh %f
Choose an icon, for example gnome-mime-image

Under Appearance Conditions
Type in Filepattern: *.pdf;*.PDF
Select Other files
Click OK
Click Close
When you right click on a pdf file can you select "Extract images from pdf"

zenity and poppler have to be installed. Copy the file below to appropriate place eg ~/bin or /usr/bin
Make it executable, run in a terminal (if in /usr/bin as root):
chmod +x pdf2jpg.sh
pdf2jpg.sh (Downloaded 498 times)

Convert jpg to png

Under Basic
Type a name: Convert jpg to png
Type in Command: convert %f `basename %f .jpg`.png
Choose an icon, for example gnome-mime-image

Under Appearance Conditions
Type in Filepattern: *.jpg;*.JPG;*.jpeg;*.JPEG
Select Image files
Click OK
Click Close
When you right click on a jpg image can you select "Convert jpg to png"

Rotate image

Under Basic
Type a name: Rotate image
Type in Command: /path/to/roty.sh %F
Choose an icon, for example reload

Under Appearance Conditions
Type in Filepattern: *
Select Image files
Click OK
Click Close
When you right click on a jpg image can you select "Rotate image"

roty.sh (Downloaded 544 times)

Changed: 22-Jan-2012

News

2012-08-05
Fluxbox tips updated
2012-05-20
CD-labels for Salix OS MATE edition
2012-03-07
New page about Epson Perfection 1260
2012-01-29
New page about Hardware
2012-01-21
New Thunar Custom Actions under File Management
2012-01-17
Uppdated Thunar Custom Actions
2012-01-08
New page on Thunar Templates.
2012-01-05
My new homepage about Salix OS

Statistics

This page: 1626 Total visits:65871