0
|
1 <?xml version="1.0" encoding="LATIN1" ?> |
|
2 <!DOCTYPE webpage PUBLIC "-//Norman Walsh//DTD Website V2.2//EN" |
|
3 "http://docbook.sourceforge.net/release/website/2.2/website.dtd" [ |
|
4 ]> |
|
5 <!-- $Id: usage_desc_gui_feh.xml,v 1.2 2005/08/21 20:12:33 jerome Exp $ --> |
|
6 <webpage id="usage_desc_gui_feh"> |
|
7 <config param="rcsdate" value="$Date: 2005/08/21 20:12:33 $"/> |
|
8 |
|
9 <head> |
|
10 <title>BINS and feh</title> |
|
11 <keywords>SAUTRET, BINS, album, gallery, photos, EXIF, feh</keywords> |
|
12 </head> |
|
13 |
|
14 <para>The <ulink url="http://www.linuxbrit.co.uk/feh/">feh</ulink> |
|
15 image viewer can be used to set <command>BINS</command> description |
|
16 fields with the following method, provided by Marc Menem. |
|
17 </para> |
|
18 <para> |
|
19 Add the following two lines to the <filename>.fehrc</filename> |
|
20 file. : |
|
21 </para> |
|
22 <programlisting> |
|
23 bins_feh -g 800x600 --caption-path tit -p -V -A "bins_edit -t \"`cat tit/%f.txt`\" -d \"`cat desc/%f.txt`\" %f" |
|
24 bins_feh_desc -g 800x600 --caption-path desc -p -V -A "bins_edit -t \"`cat tit/%f.txt`\" -d \"`cat desc/%f.txt`\" %f" |
|
25 </programlisting> |
|
26 |
|
27 <para>Then do the following :</para> |
|
28 <programlisting> |
|
29 cd images |
|
30 mkdir tit |
|
31 mkdir desc |
|
32 feh -Tbins_feh *.jpg |
|
33 </programlisting> |
|
34 <para>In feh, you can edit all the titles after going into caption |
|
35 mode with the <command>c</command> key, and update the xml files |
|
36 with the <command>enter</command> key. Then, do the following to |
|
37 edit the descriptions : |
|
38 </para> |
|
39 <programlisting> |
|
40 feh -Tbins_feh_desc *.jpg |
|
41 </programlisting> |
|
42 <para> |
|
43 In the same way, you can edit all the descriptions after going |
|
44 into caption mode with the <command>c</command> key, and update |
|
45 the xml files with the <command>enter</command> key. |
|
46 </para> |
|
47 </webpage> |