]> git.street.me.uk Git - andy/viking.git/blame - help/viking.xml
[DOC] Document the Mapnik Rendering Layer capability.
[andy/viking.git] / help / viking.xml
CommitLineData
5c388229
GB
1<?xml version='1.0' encoding='ISO-8859-1'?>
2<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
4
5<!--
6
7Process this file with an XSLT processor: `xsltproc \
8-''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
9manpages/docbook.xsl manpage.dbk'. A manual page
10<package>.<section> will be generated. You may view the
11manual page with: nroff -man <package>.<section> | less'. A
12typical entry in a Makefile or Makefile.am is:
13
14DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
15manpages/docbook.xsl
16XP=xsltproc -''-nonet
17
18manpage.1: manpage.dbk
19 $(XP) $(DB2MAN) $<
20
21The xsltproc binary is found in the xsltproc package. The
22XSL files are in docbook-xsl. Please remember that if you
23create the nroff version in one of the debian/rules file
24targets (such as build), you will need to include xsltproc
25and docbook-xsl in your Build-Depends control field.
26
27-->
28
29 <!-- Fill in your name for FIRSTNAME and SURNAME. -->
30 <!ENTITY dhfirstname "<firstname>Ralf</firstname>">
31 <!ENTITY dhsurname "<surname>Meyer</surname>">
32 <!-- Please adjust the date whenever revising the manpage. -->
b1f2d51f 33 <!ENTITY dhdate "<date>2013-10-13</date>">
6ece5489
RN
34 <!-- Would be nice if the version could auto-update. -->
35 <!ENTITY dhsource "Viking">
b1f2d51f 36 <!ENTITY dhversion "1.5.0">
5c388229
GB
37 <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
38 allowed: see man(7), man(1). -->
39 <!ENTITY dhsection "<manvolnum>1</manvolnum>">
40 <!ENTITY dhemail "<email>ranfyy@gmail.com</email>">
41 <!ENTITY dhusername "Ralf Meyer">
42 <!ENTITY dhucpackage "<refentrytitle>VIKING</refentrytitle>">
43 <!ENTITY dhpackage "viking">
44
45 <!ENTITY debian "<productname>Debian</productname>">
46 <!ENTITY gnu "<acronym>GNU</acronym>">
47 <!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
48]>
49
6ece5489
RN
50<reference>
51<title>&dhsource; &dhversion;</title>
52
1b6659bd 53<refentry xmlns:xi="http://www.w3.org/2001/XInclude">
5c388229
GB
54 <refentryinfo>
55 <address>
56 &dhemail;
57 </address>
58 <copyright>
59 <year>2007</year>
60 <holder>&dhusername;</holder>
61 </copyright>
e4a44c0e
GB
62 <copyright>
63 <year>2010</year>
64 <holder>Guilhem Bonnefille</holder>
65 </copyright>
d62c5714 66 <copyright>
95272265 67 <year>2013</year>
d62c5714
RN
68 <holder>Rob Norris</holder>
69 </copyright>
5c388229
GB
70 &dhdate;
71 </refentryinfo>
72 <refmeta>
73 &dhucpackage;
5c388229 74 &dhsection;
6ece5489
RN
75 <refmiscinfo CLASS="source">&dhsource;</refmiscinfo>
76 <refmiscinfo CLASS="version">&dhversion;</refmiscinfo>
5c388229
GB
77 </refmeta>
78 <refnamediv>
79 <refname>&dhpackage;</refname>
80
81 <refpurpose>program to manage GPS data</refpurpose>
82 </refnamediv>
83 <refsynopsisdiv>
84 <cmdsynopsis>
85 <command>&dhpackage;</command>
85540d7a
GB
86 <group choice="opt">
87 <arg choice="plain"><option>-d</option></arg>
88 <arg choice="plain"><option>--debug</option></arg>
89 </group>
90 <group choice="opt">
91 <arg choice="plain"><option>-V</option></arg>
92 <arg choice="plain"><option>--verbose</option></arg>
93 </group>
c12d4347
RN
94 <sbr/>
95 <group choice="opt">
96 <arg choice="plain"><option>--latitude</option> <replaceable>degrees</replaceable></arg>
97 </group>
98 <group choice="opt">
99 <arg choice="plain"><option>--longitude</option> <replaceable>degrees</replaceable></arg>
100 </group>
101 <sbr/>
102 <group choice="opt">
103 <arg choice="plain"><option>-z</option></arg>
104 <arg choice="plain"><option>--zoom</option> <replaceable>ZoomLevelOSM</replaceable></arg>
105 </group>
106 <group choice="opt">
107 <arg choice="plain"><option>-m</option></arg>
108 <arg choice="plain"><option>--map</option> <replaceable>MapId</replaceable></arg>
109 </group>
110 <sbr/>
85540d7a
GB
111 <arg rep="repeat"><replaceable>file</replaceable></arg>
112 </cmdsynopsis>
113 <cmdsynopsis>
114 <command>&dhpackage;</command>
115 <group choice="opt">
116 <arg choice="plain"><option>-h</option></arg>
117 <arg choice="plain"><option>--help</option></arg>
118 </group>
119 </cmdsynopsis>
120 <cmdsynopsis>
121 <command>&dhpackage;</command>
122 <group choice="opt">
123 <arg choice="plain"><option>-v</option></arg>
124 <arg choice="plain"><option>--version</option></arg>
125 </group>
5c388229
GB
126 </cmdsynopsis>
127 </refsynopsisdiv>
128 <refsect1>
129 <title>DESCRIPTION</title>
130
131 <para>
d62c5714
RN
132 Viking is a program to manage GPS data.
133 </para>
134 <para>
e5ee3c87
RN
135 You can import and plot tracks, routes and waypoints, show OpenStreetMap (OSM) and/or other maps, generate maps (using Mapnik),
136 geotag images, add coordinate lines, make new tracks, routes and waypoints, hide different things, etc.
137 It is written mainly in C with some C++ and uses the GTK+ 2 toolkit. It is available for Linux, other POSIX operating systems and Windows.
d62c5714
RN
138 </para>
139 <para>
140 Homepage: <ulink type="http" url="http://viking.sf.net">http://viking.sf.net</ulink>
5c388229
GB
141 </para>
142 <para>
d62c5714 143 Viking is licensed under the GNU GPL.
5c388229
GB
144 </para>
145
5c388229
GB
146 </refsect1>
147 <refsect1>
148 <title>OPTIONS</title>
149
150 <variablelist>
151 <varlistentry>
85540d7a 152 <term><option>file</option></term>
5c388229
GB
153 <listitem>
154 <para>Specify file to load at start.</para>
155 </listitem>
156 </varlistentry>
85540d7a
GB
157 <varlistentry>
158 <term><option>-d</option></term>
159 <term><option>--debug</option></term>
160 <listitem>
161 <para>Enable debug output.</para>
162 </listitem>
163 </varlistentry>
164 <varlistentry>
165 <term><option>-V</option></term>
166 <term><option>--verbose</option></term>
167 <listitem>
168 <para>Enable verbose output.</para>
169 </listitem>
170 </varlistentry>
171 <varlistentry>
172 <term><option>-?</option></term>
173 <term><option>--help</option></term>
174 <listitem>
175 <para>Show help options.</para>
176 </listitem>
177 </varlistentry>
178 <varlistentry>
179 <term><option>-v</option></term>
180 <term><option>--version</option></term>
181 <listitem>
182 <para>Show version.</para>
183 </listitem>
184 </varlistentry>
c12d4347
RN
185 <varlistentry>
186 <term><option>--latitude</option></term>
187 <listitem>
188 <para>Set the initial position to the specified latitude in decimal degrees.</para>
189 </listitem>
190 </varlistentry>
191 <varlistentry>
192 <term><option>--longitude</option></term>
193 <listitem>
194 <para>Set the initial position to the specified longitude in decimal degrees.</para>
195 </listitem>
196 </varlistentry>
197 <varlistentry>
198 <term><option>-z</option></term>
199 <term><option>--zoom</option></term>
200 <listitem>
201 <para>Set the initial zoom level. The value is the OSM zoom level (0 - 22).</para>
202 </listitem>
203 </varlistentry>
204 <varlistentry>
205 <term><option>-m</option></term>
206 <term><option>--map</option></term>
207 <listitem>
208 <para>Add a map layer by specifying the map id. The value needs to match one of the internal ids or an id from the maps configuration extension (see below).
209 Specifying a value of 0 will use the configured map layer default.</para>
210<variablelist>
211 <varlistentry>
212 <listitem><para>Internal Map Ids:</para></listitem>
213 <listitem><para>OSM Mapnik = 13</para></listitem>
214 <listitem><para>OSM Cycle = 17</para></listitem>
215 <listitem><para>Mapquest OSM = 19</para></listitem>
216 </varlistentry>
217</variablelist>
218 </listitem>
219 </varlistentry>
5c388229
GB
220 </variablelist>
221
e4a44c0e
GB
222 </refsect1>
223 <refsect1>
224 <title>Extending Viking</title>
225
357c069e 226 <para>Currently, &dhpackage; has some extension points based on configuration files. The file format is heavily inspired by the GtkBuilder file format: you specify the class of the GObject to build and set its properties. Technically, it is a XML file containing a "objects" root element. Inside this element, you set a collection of "object".</para>
e4a44c0e
GB
227 <para>Here is an example:
228<literallayout><![CDATA[
229<objects>
230 <object class="ClassName">
231 <property name="property_name1">Property value</property>
232 <property name="property_name2">Property value</property>
233 </object>
234 ...
235<objects>
236]]>
237</literallayout>
238</para>
239 <para>You can find more examples in the documentation part of the distribution.</para>
240 <formalpara>
241 <title>Map Source</title>
242 <para>It is possible to add new map's sources. The file is <filename>~/.viking/maps.xml</filename>.</para>
243 <para>An example of the file in the distribution <filename>doc/examples/maps.xml</filename>.</para>
90f15672 244 <para>The VikSlippyMapSource allows to declare any map's source working like OpenStreetMap. It supports the following properties:
e4a44c0e
GB
245 <variablelist>
246 <varlistentry>
247 <term>id</term>
248 <listitem><para>this is an integer and should be unique as it used to identify the map source</para></listitem>
249 </varlistentry>
2eb18edc
RN
250 <varlistentry>
251 <term>name</term>
252 <listitem><para>a string (should be unique) that is used for the OSM style cache directory name when the Map Cache directory is the default (<filename>~/.viking-maps</filename>)</para></listitem>
253 </varlistentry>
e4a44c0e
GB
254 <varlistentry>
255 <term>label</term>
256 <listitem><para>the text displayed in the map's source selection dialog</para></listitem>
257 </varlistentry>
258 <varlistentry>
259 <term>hostname</term>
260 <listitem><para>the server's hostname (eg. "tile.openstreetmap.org")</para></listitem>
1b6659bd
GB
261 </varlistentry>
262 <varlistentry>
263 <term>url</term>
413e9753
RN
264 <listitem><para>the parametrized address of the tile, in the spirit of C printf format, with 3 "%d" fields for Z, X and Y (in that order) (eg. "/%d/%d/%d.png")</para></listitem>
265 </varlistentry>
e633ddef
RN
266 <varlistentry>
267 <term>zoom-min (optional)</term>
268 <listitem><para>The minimum zoom value supported by the tile server. The Default is 0 if not specified.</para></listitem>
269 </varlistentry>
270 <varlistentry>
271 <term>zoom-max (optional)</term>
272 <listitem>
273 <para>The maximum zoom value supported by the tile server. The Default is 18 if not specified.</para>
274 <para>See <ulink url="http://wiki.openstreetmap.org/wiki/Zoom_levels">Zoom Levels</ulink></para>
275 </listitem>
276 </varlistentry>
2113a507
RN
277 <varlistentry>
278 <term>lat-min (optional)</term>
279 <listitem><para>The minimum latitude value in degrees supported by the tile server. The Default is -90 degrees if not specified.</para></listitem>
280 </varlistentry>
281 <varlistentry>
282 <term>lat-max (optional)</term>
283 <listitem><para>The maximum latitude value in degrees supported by the tile server. The Default is 90 degrees if not specified.</para></listitem>
284 </varlistentry>
285 <varlistentry>
286 <term>lon-min (optional)</term>
287 <listitem><para>The minimum longitude value in degrees supported by the tile server. The Default is -180 degrees if not specified.</para></listitem>
288 </varlistentry>
289 <varlistentry>
290 <term>lon-max (optional)</term>
291 <listitem><para>The maximum longitude value in degrees supported by the tile server. The Default is 180 degrees if not specified.</para></listitem>
292 </varlistentry>
14b57d17
RN
293 <varlistentry>
294 <term>file-extension (optional)</term>
295 <listitem>
296 <para>The file extension of the files on disk. The default is <emphasis>.png</emphasis></para>
297 <para>If the tile source URL ends in something other than .png, then this parameter will need to match it.</para>
298 <para>This can also be useful in reading a tileset from other software which may name tiles in an alternative form,
299 e.g. for Mobile Atlas creator it names them <emphasis>.png.tile</emphasis></para>
300 <note><para>The file types actually usable are those supported by GDK Pixbuf Library, which includes at least PNG and JPEG.</para></note>
301 <note><para>Remember to include the beginning <emphasis>'.'</emphasis> when specifying this parameter.</para></note>
302 </listitem>
303 </varlistentry>
413e9753
RN
304 <varlistentry>
305 <term>switch-xy (optional)</term>
f2e8376a
RN
306 <listitem>
307 <para>Swap the X,Y values around in the URL parametrized ordering.</para>
308 <para>The default is false.</para>
309 </listitem>
310 </varlistentry>
311 <varlistentry>
312 <term>check-file-server-time (optional)</term>
313 <listitem>
314 <para>Sends the timestamp of the tile to the server, so the server can decide whether it should send a new tile or not.</para>
315 <para>The default is false.</para>
316 </listitem>
317 </varlistentry>
318 <varlistentry>
319 <term>use-etag (optional)</term>
320 <listitem>
321 <para>Use and compare the <ulink url="http://en.wikipedia.org/wiki/HTTP_ETag">ETag</ulink> value in determining whether to download a newer tile. The default is false.</para>
322 <para>The ETag value is stored in a separate file in the same directory as the tile to enable checking the value across multiple runs of the program.</para>
323 </listitem>
1b6659bd
GB
324 </varlistentry>
325 </variablelist>
326 </para>
f2e8376a 327 <para>The VikTmsMapSource allows to declare any TMS service. It supports the following properties (as per VikSlippyMapSource above):
1b6659bd
GB
328 <variablelist>
329 <varlistentry>
330 <term>id</term>
1b6659bd
GB
331 </varlistentry>
332 <varlistentry>
333 <term>label</term>
1b6659bd
GB
334 </varlistentry>
335 <varlistentry>
336 <term>hostname</term>
e4a44c0e
GB
337 </varlistentry>
338 <varlistentry>
339 <term>url</term>
f2e8376a
RN
340 </varlistentry>
341 <varlistentry>
342 <term>check-file-server-time (optional)</term>
e4a44c0e 343 </varlistentry>
abc19988
RN
344 <varlistentry>
345 <term>zoom-min (optional)</term>
346 </varlistentry>
347 <varlistentry>
348 <term>zoom-max (optional)</term>
349 </varlistentry>
350 <varlistentry>
351 <term>lat-min (optional)</term>
352 </varlistentry>
353 <varlistentry>
354 <term>lat-max (optional)</term>
355 </varlistentry>
356 <varlistentry>
357 <term>lon-min (optional)</term>
358 </varlistentry>
359 <varlistentry>
360 <term>lon-max (optional)</term>
361 </varlistentry>
e4a44c0e
GB
362 </variablelist>
363 </para>
f2e8376a 364 <para>The VikWmscMapSource allows to declare any WMS or WMS-C service. It supports the following properties (as per VikSlippyMapSource above):
90f15672
GB
365 <variablelist>
366 <varlistentry>
367 <term>id</term>
90f15672
GB
368 </varlistentry>
369 <varlistentry>
370 <term>label</term>
90f15672
GB
371 </varlistentry>
372 <varlistentry>
373 <term>hostname</term>
90f15672
GB
374 </varlistentry>
375 <varlistentry>
376 <term>url</term>
f2e8376a
RN
377 </varlistentry>
378 <varlistentry>
379 <term>check-file-server-time (optional)</term>
90f15672 380 </varlistentry>
abc19988
RN
381 <varlistentry>
382 <term>zoom-min (optional)</term>
383 </varlistentry>
384 <varlistentry>
385 <term>zoom-max (optional)</term>
386 </varlistentry>
387 <varlistentry>
388 <term>lat-min (optional)</term>
389 </varlistentry>
390 <varlistentry>
391 <term>lat-max (optional)</term>
392 </varlistentry>
393 <varlistentry>
394 <term>lon-min (optional)</term>
395 </varlistentry>
396 <varlistentry>
397 <term>lon-max (optional)</term>
398 </varlistentry>
90f15672
GB
399 </variablelist>
400 </para>
e4a44c0e
GB
401 </formalpara>
402
403 <formalpara>
404 <title>Go-to search engines</title>
405 <para>It is possible to add new new search engines for the "Go-To" feature. The file is <filename>~/.viking/goto_tools.xml</filename>.</para>
406 <para>An example of the file in the distribution <filename>doc/examples/goto_tools.xml</filename>.</para>
407 <para>Currently, there is a single object class available: VikGotoXmlTool. Such feature allows to declare any search engine using a XML format as result.</para>
408 <para>The related properties are:
409 <variablelist>
410 <varlistentry>
411 <term>label</term>
412 <listitem><para>the text displayed in the <guilabel>Go-To</guilabel> dialog</para></listitem>
413 </varlistentry>
414 <varlistentry>
415 <term>url-format</term>
416 <listitem><para>the parametrized address of the query, in the spirit of C <function>printf</function> format, with a single "%s" field (replaced by the query string)</para></listitem>
417 </varlistentry>
418 <varlistentry>
419 <term>lat-path</term>
420 <listitem><para>XML path of the latitude (eg. <literal>/root/parent/elem</literal>)</para></listitem>
421 </varlistentry>
422 <varlistentry>
423 <term>lat-attr (optional)</term>
424 <listitem><para>name of the attribute (of previous element) containing the latitude</para></listitem>
425 </varlistentry>
426 <varlistentry>
427 <term>lon-path</term>
428 <listitem><para>XML path of the longitude (eg. <literal>/root/parent/elem</literal>)</para></listitem>
429 </varlistentry>
430 <varlistentry>
431 <term>lon-attr (optional)</term>
432 <listitem><para>name of the attribute (of previous element) containing the longiude</para></listitem>
433 </varlistentry>
434 </variablelist>
435 </para>
436 <para>As a facility (or readability) it is possible to set both path and attribute name in a single property, like an XPath expression. To do so, simply set both info in lat-path (or lon-path) in the following format: <literal>/root/parent/elem@attribute</literal>.</para>
437 </formalpara>
438
439 <formalpara>
440 <title>External tools</title>
441 <para>It is possible to add new external tools. The file is <filename>~/.viking/external_tools.xml</filename>.</para>
442 <para>An example of the file in the distribution <filename>doc/examples/external_tools.xml</filename>.</para>
3bdd680c 443 <para>The VikWebtoolCenter allows to declare any Webtool using a logic based on center coordinates and zoom level value.</para>
e4a44c0e
GB
444 <para>The related properties are:
445 <variablelist>
e4a44c0e
GB
446 <varlistentry>
447 <term>label</term>
448 <listitem><para>the text displayed in the menu entry</para></listitem>
449 </varlistentry>
450 <varlistentry>
451 <term>url</term>
3bdd680c
GB
452 <listitem><para>the parametrized URL to open, in the spirit of C printf format, with 2 "%s" and a "%d" fields for X, Y and Z (zoom level) (eg. "http://hostname/?lat=%s&amp;lon=%s&amp;zoom=%d")</para></listitem>
453 </varlistentry>
454 </variablelist>
455 </para>
456 <para>The VikWebtoolBounds allows to declare any Webtool using a logic based on bounds coordinates.</para>
457 <para>The related properties are:
458 <variablelist>
459 <varlistentry>
95272265
RN
460 <term>label</term>
461 <listitem><para>the text displayed in the menu entry</para></listitem>
3bdd680c 462 </varlistentry>
95272265
RN
463 <varlistentry>
464 <term>url</term>
465 <listitem><para>the parametrized address of the tile, in the spirit of C printf format, with 4 "%s" fields for left, right, bottom and top (eg. "http://hostname:8111/load_and_zoom?left=%s&amp;right=%s&amp;bottom=%s&amp;top=%s")</para></listitem>
466 </varlistentry>
467 </variablelist>
468 </para>
469 </formalpara>
470
471 <formalpara>
472 <title>Remote File Datasources</title>
473 <para>It is possible to add web references expected to return a file which can then be opened directly or converted via GPSBabel.</para>
474 <para>The file is <filename>~/.viking/datasources.xml</filename>.</para>
475 <para>An example of the file is in the source distribution <filename>doc/examples/datasources.xml</filename>.</para>
476 <para>The VikWebtoolDatasource allows to declare any URL using logic based on coordinates.</para>
477 <para>The related properties are:
478 <variablelist>
3bdd680c
GB
479 <varlistentry>
480 <term>label</term>
481 <listitem><para>the text displayed in the menu entry</para></listitem>
482 </varlistentry>
483 <varlistentry>
484 <term>url</term>
95272265
RN
485 <listitem>
486 <para>the parametrized URL to open in the spirit of C printf format, with up to 7 "%s" values. e.g. <literal>http://hostname/getfile?lat=%s&amp;lon=%s</literal></para>
487 <para>The order and meaning of these parameters is given by the url_format_code below</para>
488 </listitem>
489 </varlistentry>
490 <varlistentry>
491 <term>url_format_code</term>
492 <listitem>
493 <para>A string describing the parametrized URL substitution parameters, each character represents how to translate each term.</para>
494 <para>B = Bottom of the current view i.e. minimum latitude</para>
495 <para>L = Left of the current view i.e. minimum longitude</para>
496 <para>T = Top of the current view i.e. maximum latitude</para>
497 <para>R = Right of the current view i.e. maximum longitude</para>
498 <para>A = center lAtitude of the current view</para>
499 <para>O = center lOngitude of the current view</para>
500 <para>Z = OSM Zoom value of the current view. See <ulink url="http://wiki.openstreetmap.org/wiki/Zoom_levels">Zoom Levels</ulink></para>
d66e24e1 501 <para>S = A user specified input string requested from the user via a dialog box</para>
95272265
RN
502 <para>Thus for the url example above then the format code should be <emphasis>AO</emphasis></para>
503 </listitem>
504 </varlistentry>
505 <varlistentry>
506 <term>file_type</term>
507 <listitem>
508 <para>This value is passed on for the -i parameter in interfacing with GPSBabel.</para>
509 <para>If it is not defined then the returned file is interpreted internally as a GPX file.</para>
510 <para>Possible values such as 'kml', 'mapsource' etc.. can be used. See <ulink url="http://www.gpsbabel.org/capabilities.html">GPSBabel File Formats</ulink> for the full list.</para>
511 </listitem>
e4a44c0e 512 </varlistentry>
d66e24e1
MH
513 <varlistentry>
514 <term>babel_filter_args</term>
515 <listitem>
516 <para>This value is passed on for the filter arguments interfacing with GPSBabel.</para>
517 <para>E.g. "-x nuketypes,routes" can be used to filter all routes from the results.</para>
518 </listitem>
519 </varlistentry>
520 <varlistentry>
521 <term>input_label</term>
522 <listitem>
523 <para>This value is used when requesting input from the user.</para>
524 <para>It is the label of the text input box.</para>
525 </listitem>
526 </varlistentry>
e4a44c0e
GB
527 </variablelist>
528 </para>
529 </formalpara>
530
531 </refsect1>
532 <refsect1>
533 <title>FILES</title>
534
535 <variablelist>
536 <varlistentry>
537 <term><filename>~/.viking/maps.xml</filename></term>
538 <listitem>
539 <para>File containing definition of map sources.</para>
540 <para>See previous section for details.</para>
541 </listitem>
542 </varlistentry>
b2709f5e
GB
543 <varlistentry>
544 <term><filename>~/.viking/goto_tools.xml</filename></term>
545 <listitem>
546 <para>File containing definition of "Go-to" services.</para>
547 <para>See previous section for details.</para>
548 </listitem>
549 </varlistentry>
550 <varlistentry>
551 <term><filename>~/.viking/external_tools.xml</filename></term>
552 <listitem>
553 <para>File containing definition of external tools.</para>
554 <para>See previous section for details.</para>
555 </listitem>
556 </varlistentry>
95272265
RN
557 <varlistentry>
558 <term><filename>~/.viking/datasources.xml</filename></term>
559 <listitem>
560 <para>File containing definition of remote file datasources.</para>
561 <para>See previous section for details.</para>
562 </listitem>
563 </varlistentry>
b2709f5e
GB
564 <varlistentry>
565 <term><filename>~/.viking/viking.prefs</filename></term>
566 <listitem>
567 <para>Preferences for &dhpackage;.</para>
568 </listitem>
569 </varlistentry>
2ed09ddf
RN
570 <varlistentry>
571 <term><filename>~/.viking/viking_layer_defaults.ini</filename></term>
572 <listitem>
573 <para>Layer default values for &dhpackage;.</para>
574 </listitem>
575 </varlistentry>
78609471
RN
576 <varlistentry>
577 <term><filename>~/.viking/viking.ini</filename></term>
578 <listitem>
579 <para>Values for &dhpackage; automatically saved between sessions.</para>
580 <para>Not generally intended to be manually edited.</para>
581 <para>However some finer control of default internal values can be set.</para>
582 </listitem>
583 </varlistentry>
7b97b14c
RN
584 <varlistentry>
585 <term><filename>~/.viking/keys.rc</filename></term>
586 <listitem>
587 <para>File containing short cut key accelerators.</para>
588 <para>This is in the standard GTK Accelerator map format.</para>
589 </listitem>
590 </varlistentry>
e4a44c0e
GB
591 <varlistentry>
592 <term><filename>~/.viking/cookies.txt</filename></term>
593 <listitem>
594 <para>File hosting cookies used by &dhpackage;.</para>
e4a44c0e
GB
595 </listitem>
596 </varlistentry>
597 <varlistentry>
598 <term><filename>~/.viking-maps/</filename></term>
599 <listitem>
e5ee3c87 600 <para>Default location of the map cache of tiles downloaded or created by &dhpackage;.</para>
e4a44c0e
GB
601 </listitem>
602 </varlistentry>
603 </variablelist>
604
29f1598c
GB
605 <para>Extension files (<filename>maps.xml</filename>,
606 <filename>goto_tools.xml</filename>,
95272265 607 <filename>datasources.xml</filename>,
29f1598c
GB
608 <filename>external_tools.xml</filename>)
609 are also searched in <filename>/etc/viking</filename> and
610 <filename>/usr/share/viking</filename> directories (or related in your system).</para>
611
612 </refsect1>
613 <refsect1>
614 <title>ENVIRONMENT</title>
615
616 <variablelist>
617 <varlistentry>
618 <term><envar>XDG_DATA_HOME</envar></term>
619 <listitem>
620 <para>Optional directory to look for extension files
621 (<filename>maps.xml</filename>, <filename>goto_tools.xml</filename>,
622 <filename>external_tools.xml</filename>).</para>
623 </listitem>
624 </varlistentry>
625 <varlistentry>
626 <term><envar>XDG_DATA_DIRS</envar></term>
627 <listitem>
628 <para>Path used to change the directories scanned for extension files
629 (<filename>maps.xml</filename>, <filename>goto_tools.xml</filename>,
630 <filename>external_tools.xml</filename>).</para>
631 </listitem>
632 </varlistentry>
633 </variablelist>
634
5c388229 635 </refsect1>
5c388229
GB
636 <refsect1>
637 <title>AUTHOR</title>
638
d62c5714 639 <para>This manual page was originally written by &dhusername; &dhemail; for
5c388229
GB
640 the &debian; system (but may be used by others). Permission is
641 granted to copy, distribute and/or modify this document under
642 the terms of the &gnu; General Public License, Version 2 any
643 later version published by the Free Software Foundation.
644 </para>
645 <para>
646 On Debian systems, the complete text of the GNU General Public
647 License can be found in /usr/share/common-licenses/GPL.
648 </para>
649
650 </refsect1>
651</refentry>
6ece5489 652</reference>