BINS and feh

The feh image viewer can be used to set BINS description fields with the following method, provided by Marc Menem.

Add the following two lines to the .fehrc file. :

    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"
  

Then do the following :

    cd images
    mkdir tit
    mkdir desc
    feh -Tbins_feh *.jpg
  

In feh, you can edit all the titles after going into caption mode with the c key, and update the xml files with the enter key. Then, do the following to edit the descriptions :

    feh -Tbins_feh_desc *.jpg
  

In the same way, you can edit all the descriptions after going into caption mode with the c key, and update the xml files with the enter key.