comparison doc/usage_desc_gui_nautilus.xml @ 0:a84c32f131df 1.1.29

Import vendor version
author Peter Gervai <grin@grin.hu>
date Wed, 15 Oct 2008 23:28:56 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:a84c32f131df
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_nautilus.xml,v 1.4 2003/04/12 22:56:22 jerome Exp $ -->
6 <webpage id="usage_desc_gui_nautilus">
7 <config param="rcsdate" value="$Date: 2003/04/12 22:56:22 $"/>
8
9 <head>
10 <title>BINS in Nautilus</title>
11 <keywords>SAUTRET, BINS, album, gallery, photos, EXIF</keywords>
12 </head>
13
14 <para>You can edit <command>BINS</command> description files of your
15 images directly in <command><ulink
16 url="http://www.gnome.org/projects/nautilus/">Nautilus</ulink></command>
17 using <command>bins-edit-gui</command>. To do so, put the following
18 shell script in the file
19 <filename>.gnome2/nautilus-scripts/BINS</filename> (or
20 <filename>.gnome/nautilus-scripts/BINS</filename> if you're using
21 gnome&nbsp;1.x)&nbsp;:
22 </para>
23 <programlisting>
24 #!/bin/sh
25 #
26 # Script to edit BINS xml description files from Nautilus.
27 #
28 # Written by crafterm at debian.org, Sun Mar 16 21:26:26 CET 2003
29
30 quoted=$(echo -e "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" | \
31 awk 'BEGIN { FS = "\n" } { printf "\"%s\" ", $1 }' | \
32 sed -e s#\"\"##)
33
34 eval "bins-edit-gui $quoted"
35 </programlisting>
36 <para>
37 Then, make the script executable by going in the file's directory
38 and running the following command&nbsp;:
39 </para>
40 <programlisting>
41 chmod u+rx BINS
42 </programlisting>
43 <para>
44 By putting that shell script there, you can use
45 <command>Nautilus</command> to select all images you want to
46 edit/add info about and then right click,
47 <literal>scripts...</literal> and then <literal>BINS</literal>.
48 It will then launch the gui with all the files selected, as
49 loaded.
50 </para>
51 <para>Thanks to Zaheer Merali for this tip and to Marcus Crafter for
52 the script.</para>
53 </webpage>