<?xml version="1.0" encoding="utf-8"?>
<section id="GuideReferenceConfig">
  <title id="titleGuideReferenceConfig">Configuration Files and Locations</title>
  <para>The following data lists the locations Geeqie uses for various actions. The uppercase symbols are environment variables. If they are not set on your system the fallback locations are listed in parentheses.</para>
  <para>
    Geeqie will first attempt to load a configuration file from:
    <programlisting xml:space="preserve">/etc/geeqie/geeqierc.xml</programlisting>
  </para>
  <para>It will then continue with the following locations.</para>
  <para>
    Most of Geeqie's configuration files are contained in the folder, and sub-folders of:
    <programlisting xml:space="preserve">$XDG_CONFIG_HOME/geeqie/</programlisting>
    <programlisting xml:space="preserve">($HOME/.config/geeqie/)</programlisting>
  </para>
  <para>
    Geeqie's standard configuration file is:
    <programlisting xml:space="preserve">.../geeqierc.xml</programlisting>
  </para>
  <para>
    An alternative configuration file may be used by executing:
    <programlisting xml:space="preserve">geeqie -r --config-load:&lt;filename&gt;</programlisting>
  </para>
  <para>
    Saved window layout files are in the folder:
    <programlisting xml:space="preserve">.../layouts</programlisting>
  </para>
  <para>
    Geeqie-created desktop files used by
    <link linkend="GuideImageManagementPlugins">Plugins</link>
    are in the folder:
    <programlisting xml:space="preserve">.../applications</programlisting>
  </para>
  <para>
    Lua script files for
    <link linkend="GuideReferenceLua">Lua Extensions</link>
    are in the folder:
    <programlisting xml:space="preserve">.../lua</programlisting>
  </para>
  <para>
    Historic data such as last several folders visited, bookmarks, and recently used collections, as well as default print settings are contained in this text file:
    <programlisting xml:space="preserve">.../history</programlisting>
  </para>
  <para>
    Keyboard shortcut maps are contained in this text file:
    <programlisting xml:space="preserve">.../accels</programlisting>
  </para>
  <para>
    The location for Collections is in the folder:
    <programlisting xml:space="preserve">$XDG_DATA_HOME/geeqie/collections</programlisting>
    <programlisting xml:space="preserve">($HOME/.local/share/geeqie/collections)</programlisting>
  </para>
  <para>
    The lirc
    <link linkend="GuideReferenceLIRC" endterm="titleGuideReferenceLIRC" />
    configuration file must be located at:
    <programlisting xml:space="preserve">$HOME/.lircrc</programlisting>
  </para>
  <para>
    Thumbnails are stored in a location specified in
    <link linkend="PreferencesThumbnails">Thumbnail Preferences</link>
  </para>
  <para>
    Metadata is stored either in the image file or in the location specified in
    <link linkend="MetadataWritingProcess">Metadata</link>
  </para>
  <para>
    Similarity files are stored in the folder:
    <programlisting xml:space="preserve">($HOME/.cache/geeqie/)</programlisting>
  </para>
  <para>
    The safe delete folder is specified in the
    <link linkend="Delete">Safe Delete</link>
    tab of main Preferences
  </para>
</section>
