What can I find here?

Rants and thoughts about PC's and Operating Systems, much of it drivel, some of it useful.

Rotate images from Nautilus context menu

Monday, October 25, 2010

I realize that the nautilus-image-converter plugin provides this same bit of functionality but the way the plugin implemets the rotation didn't really suit my needs. Specifically, there were too many clicks involved for a simple rotation. Instead we'll just use jpegtran to do the rotation.  

Note* jpegtran by default, will only copy some of the Exif data, so we'll pass the -copy all parameter to jpegtran.

Launch the Nautilus Actions Congfig Tool from your Control Panel or comamnd line:
nautilus-actions-config-tool

Action Tab>
Create a New Action
Context label: Rotate Left
Tooltip: Rotate Left
Select your favorite icon


Command tab>
Path: jpegtran
Parameters: -rotate 270 -copy all -outfile %f %f
Working directory: %d

Mimetypes Tab>
Mimetype filter: image/*

Action Tab>
Create a New Action
Context label: Rotate Right
Tooltip: Rotate Right
Select your favorite icon

Command Tab>
Path: jpegtran
Parameters: -rotate 90 -copy all -outfile %f %f
Working directory: %d

Mimetypes>
Mimetype filter: image/*

Now you should have a Rotate Right and Rotate left in your right click context menu.

0 comments:

Post a Comment

 

1

live cd (1) remaster (1)

2

live cd (1) remaster (1)

3

live cd (1) remaster (1)