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
doc:appunti:linux:tux:geeqie [2011/10/20 16:19] niccolodoc:appunti:linux:tux:geeqie [2019/08/23 17:17] (current) – [Exif UserComment Editor] niccolo
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.1319120350.txt.gz · Last modified: 2011/10/20 16:19 by niccolo