view doc/usage_desc_gui_feh.xml @ 6:3021deef1599

Encoding related fixes * chomp encoding string * reformat else (seems someone hacked it in) * debug print encoding * do not use :utf8 binmode ("re-encode") on written file if the input is _already_ UTF-8
author Peter Gervai <grin@grin.hu>
date Thu, 16 Oct 2008 00:02: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.&nbsp;:
  </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&nbsp;:</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&nbsp;:
  </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>