Mercurial > bins
view doc/usage_desc_gui_feh.xml @ 9:0f248ad86f9f 1.1.29.e2
bins_edit: try to get encoding stuff right, move it into main
author | Peter Gervai <grin@grin.hu> |
---|---|
date | Thu, 16 Oct 2008 00:11:14 +0200 |
parents | a84c32f131df |
children |
line wrap: on
line source
<?xml version="1.0" encoding="LATIN1" ?> <!DOCTYPE webpage PUBLIC "-//Norman Walsh//DTD Website V2.2//EN" "http://docbook.sourceforge.net/release/website/2.2/website.dtd" [ ]> <!-- $Id: usage_desc_gui_feh.xml,v 1.2 2005/08/21 20:12:33 jerome Exp $ --> <webpage id="usage_desc_gui_feh"> <config param="rcsdate" value="$Date: 2005/08/21 20:12:33 $"/> <head> <title>BINS and feh</title> <keywords>SAUTRET, BINS, album, gallery, photos, EXIF, feh</keywords> </head> <para>The <ulink url="http://www.linuxbrit.co.uk/feh/">feh</ulink> image viewer can be used to set <command>BINS</command> description fields with the following method, provided by Marc Menem. </para> <para> Add the following two lines to the <filename>.fehrc</filename> file. : </para> <programlisting> bins_feh -g 800x600 --caption-path tit -p -V -A "bins_edit -t \"`cat tit/%f.txt`\" -d \"`cat desc/%f.txt`\" %f" bins_feh_desc -g 800x600 --caption-path desc -p -V -A "bins_edit -t \"`cat tit/%f.txt`\" -d \"`cat desc/%f.txt`\" %f" </programlisting> <para>Then do the following :</para> <programlisting> cd images mkdir tit mkdir desc feh -Tbins_feh *.jpg </programlisting> <para>In feh, you can edit all the titles after going into caption mode with the <command>c</command> key, and update the xml files with the <command>enter</command> key. Then, do the following to edit the descriptions : </para> <programlisting> feh -Tbins_feh_desc *.jpg </programlisting> <para> In the same way, you can edit all the descriptions after going into caption mode with the <command>c</command> key, and update the xml files with the <command>enter</command> key. </para> </webpage>