User Tools

Site Tools


doc:appunti:linux:tux:geeqie

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:linux:tux:geeqie [2010/03/15 13:29] niccolodoc:appunti:linux:tux:geeqie [2019/08/23 17:17] (current) – [Exif UserComment Editor] niccolo
Line 3: Line 3:
 Geeqie is the successor of [[gqview]]. Geeqie is the successor of [[gqview]].
  
-===== exif-comment-edit =====+===== Exif UserComment Editor =====
  
-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**.+I wrote a small Python script to **edit Exif UserComment** tag. 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 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.
Line 11: Line 11:
 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 **''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: **{{:tecnica:download:local_software:exif-comment-edit.tgz|exif-comment-edit}}**.+The script is released under the GPL license, and you can download it from **[[https://sourceforge.net/projects/exif-comment/|SourceForge]]**.
  
 To add the item to the Edit menu, just create a **''$HOME/.config/geeqie/applications/exif-comment-edit.desktop''** file, with: To add the item to the Edit menu, just create a **''$HOME/.config/geeqie/applications/exif-comment-edit.desktop''** file, with:
Line 37: Line 37:
  
 To bind the menu item to a shortcut key, open the //Edit//, //Preferences//, //Keyboard// dialog box and search the action you just added. To bind the menu item to a shortcut key, open the //Edit//, //Preferences//, //Keyboard// dialog box and search the action you just added.
 +
 +===== View Canon Exif Metadata =====
 +
 +I wrote a Python script to show Exif data from photos, with special decoding of **Canon PowerShot S120** metadata. The script is intended to be run on the command line, but you can bind it to a keyboard shortcut in Geeqie, thus launching it when viewing an image. This is the **canon-metadata.desktop** file you have to put into your **$HOME/.config/geeqie/applications/** directory:
 +
 +<file>
 +[Desktop Entry]
 +Version=1.0
 +Type=Application
 +Name=View Canon Metadata
 +
 +Exec=xterm -geometry 76x25+10+10 -bg white -fg black -fa 'Monospace' -fs 12 -e "bash -c 'canon-metadata %f | less'"
 +
 +# show only if canon-metadata is installed
 +TryExec=canon-metadata
 +
 +# 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;
 +</file>
 +
 +You can **download the actual Python script** from this page **[[..:..:hardware:canon_s120]]**.
doc/appunti/linux/tux/geeqie.txt · Last modified: 2019/08/23 17:17 by niccolo