view doc/usage_desc_gui_nautilus.xml @ 8:c28af937b9bd

log verbosity fix (entr)
author Peter Gervai <grin@grin.hu>
date Thu, 16 Oct 2008 00:06:40 +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_nautilus.xml,v 1.4 2003/04/12 22:56:22 jerome Exp $ -->
<webpage id="usage_desc_gui_nautilus">
  <config param="rcsdate" value="$Date: 2003/04/12 22:56:22 $"/>
  
  <head>
    <title>BINS in Nautilus</title>
    <keywords>SAUTRET, BINS, album, gallery, photos, EXIF</keywords>
  </head>

  <para>You can edit <command>BINS</command> description files of your
  images directly in <command><ulink
  url="http://www.gnome.org/projects/nautilus/">Nautilus</ulink></command>
  using <command>bins-edit-gui</command>. To do so, put the following
  shell script in the file
  <filename>.gnome2/nautilus-scripts/BINS</filename> (or
  <filename>.gnome/nautilus-scripts/BINS</filename> if you're using
  gnome&nbsp;1.x)&nbsp;:
  </para>
  <programlisting>
#!/bin/sh
#
# Script to edit BINS xml description files from Nautilus.
# 
# Written by crafterm at debian.org, Sun Mar 16 21:26:26 CET 2003

quoted=$(echo -e "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" | \
    awk 'BEGIN { FS = "\n" } { printf "\"%s\" ", $1 }' | \
    sed -e s#\"\"##)

eval "bins-edit-gui $quoted"
  </programlisting>
  <para>
    Then, make the script executable by going in the file's directory
    and running the following command&nbsp;:
  </para>
  <programlisting>
    chmod u+rx BINS
  </programlisting>
  <para>
    By putting that shell script there, you can use
    <command>Nautilus</command> to select all images you want to
    edit/add info about and then right click,
    <literal>scripts...</literal> and then <literal>BINS</literal>.
    It will then launch the gui with all the files selected, as
    loaded.
  </para>
  <para>Thanks to Zaheer Merali for this tip and to Marcus Crafter for
  the script.</para>
</webpage>