1
<chapter id="external_tools">
2
<title>External tools</title>
4
<para>You can easily extend &kappname; by defining external tools. These tools
5
are accessible from the contextual popup menu which appears when
6
right-clicking on a thumbnail or in the image view. Look in the
7
<menuchoice><guimenu>External Tools</guimenu></menuchoice> entry.</para>
9
<para>&kappname; comes with a few predefined external tools, but it's very
10
easy to add more through the <guilabel>Configure External Tools</guilabel> dialog. You can open
11
it from <menuchoice><guimenu>Settings</guimenu><guimenuitem>Configure
12
External Tools...</guimenuitem></menuchoice>.
15
<para>Here is how it looks:
18
<screeninfo>External tools dialog</screeninfo>
21
<imagedata fileref="external_tools_dialog.png" format="PNG" />
27
<para>In this example, I defined an external tool which will call Exiftran to
28
regenerate the EXIF tags for JPEG images. Here is a more detailed description
29
of its definition:</para>
33
<para>The <guilabel>Name:</guilabel> field contains the description of your
34
tool, has it will appear in the menu.
38
<para>The <guilabel>Command:</guilabel> field contains the command which
39
will be run when this tool is invoked.
40
Click on the little question mark on the right of the field to get a list
41
of the keywords you can use in this field. These keywords will get
42
expanded to the image files.
47
The button on the right lets you associate an icon with your tool.
52
The <guilabel>File Associations</guilabel> group indicates what type of
53
files this tool can work with. Your tool will only appear in the
54
<menuchoice><guimenu>External Tools</guimenu></menuchoice> menu if the
55
selected files are of the correct type. In my example, this tool is only
56
valid with JPEG images, so I choose <guilabel>Custom:</guilabel>, then
57
<guilabel>image/jpeg</guilabel> and <guilabel>image/pjpeg</guilabel>.
63
<para>You can find other external tool examples from
64
<ulink url="http://gwenview.sourceforge.net/tools">&kappname; web site</ulink>.
69
<!-- vim: set ft=xml: -->