User Tools

Site Tools


doc:appunti:linux:tux:geeqie

This is an old revision of the document!


Geeqie

exif-comment-edit

I wrote a small Python script to edit Exif UserComment field. You can hook the script to the external editor commands of Geeqie, so you can launch it with a simple Ctrl+1.

The program allows multi line comments, uses UTF-8 encoding and allow you to edit and existing comment or add a new one. You can navigate in the directory tree and quickly add comments using just the jeyboard.

The exif-comment-edit script uses the exiv2(1) tool to actually read and write the comment, on a Debian system you must install the exiv2 and python-gtk2 packages.

The script is released under the GPL license, and you can download it here: exif-comment-edit.

To add the item to the Edit menu, just create a $HOME/.config/geeqie/applications/exif-comment-edit.desktop file, with:

[Desktop Entry]
Version=1.0
Type=Application
Name=Edit Exif UserComment

Exec=exif-comment-edit %f

# show only if exif-comment-edit is installed
TryExec=exif-comment-edit

# Desktop files that are usable only in Geeqie should be marked like this:
Categories=X-Geeqie;
OnlyShowIn=X-Geeqie;

# Show in menu "Edit"
X-Geeqie-Menu-Path=EditMenu/EditSection

MimeType=image/jpeg;
doc/appunti/linux/tux/geeqie.1268656035.txt.gz · Last modified: 2010/03/15 13:27 by niccolo