-
Senior Member
registered user
[SCRIPT] Rotate (sharpen,...) images with a right-click
For Windows XP, there is a power tool that lets you rotate images by right-clicking. Now, there is this feature for Knoppix too. Simply run the following or put it in your knoppix.sh and then you can rotate images in Konqueror with a right-click.
Code:
#!/bin/bash
#################### OUTDATED, FOR NEW VERSION SEE BELOW ####################
# rotate images by right-clicking in Konqueror
# by probono
# This script is published under the GPL
mkdir -p ~/.kde/share/apps/konqueror/servicemenus
cat >> ~/.kde/share/apps/konqueror/servicemenus/rotate_ccw.desktop <<EOF
[Desktop Entry]
ServiceTypes=image/png,image/jpeg,image/gif
Actions=rotate_ccw
[Desktop Action rotate_ccw]
Name=Rotate counter-clockwise
Icon=rotate_ccw
Exec=/bin/sh -c "for file in %U; do mogrify -rotate 270 $file; done"
EOF
cat >> ~/.kde/share/apps/konqueror/servicemenus/rotate_cw.desktop <<EOF
[Desktop Entry]
ServiceTypes=image/png,image/jpeg,image/gif
Actions=rotate_cw
[Desktop Action rotate_cw]
Name=Rotate clockwise
Icon=rotate_cw
Exec=/bin/sh -c "for file in %U; do mogrify -rotate 90 $file; done"
EOF
Similar Threads
-
By knopx4me in forum Customising & Remastering
Replies: 0
Last Post: 03-06-2005, 08:06 PM
-
By gotsanity in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 12-06-2004, 06:28 AM
-
By Slay3r in forum General Support
Replies: 4
Last Post: 07-17-2004, 04:35 AM
-
Replies: 11
Last Post: 01-28-2004, 01:57 AM
-
By Dallas Eschenauer in forum General Support
Replies: 2
Last Post: 09-06-2003, 09:19 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

HP PROLIANT MICROSERVER GEN8 E3-1220LV2 @ 2.30GHz, 8GB RAM, NO HDD/OS
$164.97

Dual Xeon E5-2698 Server-Supermicro X10DRL-i - Noctua SilverStone RM41-506
$449.99

Super Micro 113M-3 Server Intel Xeon 5Tb HDD used great condition
$70.00

Supermicro 721-2 Mini Tower Black Computer Server NO Hdd
$375.00

HPE ProLiant MicroServer Gen10 Plus Xeon E-2224 3.4GHz 16GB RAM 2TB HDD NO OS
$949.99

HPE ProLiant MicroServer Gen 10 - Opteron x3421 - 16GB DDR4 - 120GB SATA SSD
$350.00

HPE ProLiant MicroServer Gen10 Plus V2 Server G6405 16GB No HDD P54644-001
$899.99

HP ProLiant MicroServer Gen8 Xeon E3-1265L v2 16GB ECC RAM 4-Bay NAS, NO Drives
$300.00

BOXX B157552 SuperMicro X10DRT-L 2x Intel 2630V4 NO RAM & SSD Server
$160.99

Supermicro 505-2 Server
$280.00