Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • d198bc9
  • /
  • doc
  • /
  • usermanual
  • /
  • preferences
  • /
  • session_options.xml
Raw File Download
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:794bb8df86ba0a892e49c7249b99c9ac8ca64b59
directory badge Iframe embedding
swh:1:dir:5df1105c0d555e4aabe6c405283e2c168a56b06e
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
session_options.xml
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
               "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
		<!ENTITY % darktable_dtd SYSTEM "../dtd/darktable.dtd">
		%darktable_dtd;
		]>
<sect1 status="final" id="session_options">

  <title>Session options</title>

  <indexterm>
    <primary>preferences and settings</primary>
    <secondary>session options</secondary>
  </indexterm>

  <para>
    These options define a naming pattern to organize images on disk when importing from a
    connected camera (see <xref linkend="import"/>) and when taking photos in the tethering view
    (see <xref linkend="tethering_chapter"/>).
  </para>

  <para>
    The naming pattern consists of three parts: a base part defining the parent folder, a
    session part defining a sub directory which is specific to the individual import session,
    and a file name part defining the filename structure for each imported image.
  </para>

  <para>
    Several pre-defined variables can be used in the pattern as placeholders:
  </para>

  <informaltable frame="none" width="80%">
    <tgroup cols="2" colsep="0" rowsep="0">
      <tbody>
        <row>
          <entry>
            $(HOME)
          </entry>
          <entry>
            the home folder as defined by the system
          </entry>
        </row>
        <row>
          <entry>
            $(PICTURES_FOLDER)
          </entry>
          <entry>
            the pictures folder as defined by the system (usually <quote>$HOME/Pictures</quote>)
          </entry>
        </row>
        <row>
          <entry>
            $(DESKTOP)
          </entry>
          <entry>
            the desktop folder as defined by the system (usually <quote>$HOME/Desktop</quote>)
          </entry>
        </row>
        <row>
          <entry>
            $(USERNAME)
          </entry>
          <entry>
            your user account name on the system
          </entry>
        </row>
        <row>
          <entry>
            $(FILE_NAME)
          </entry>
          <entry>
            basename of the imported image
          </entry>
        </row>
        <row>
          <entry>
            $(FILE_EXTENSION)
          </entry>
          <entry>
            extension of the imported image
          </entry>
        </row>
        <row>
          <entry>
            $(JOBCODE)
          </entry>
          <entry>
            unique identifier of the import job
          </entry>
        </row>
        <row>
          <entry>
            $(SEQUENCE)
          </entry>
          <entry>
            a sequence number within the import job
          </entry>
        </row>
        <row>
          <entry>
            $(ID)
          </entry>
          <entry>
            unique identification number of the image in darktable's database
          </entry>
        </row>
        <row>
          <entry>
            $(YEAR)
          </entry>
          <entry>
            year at the date of import
          </entry>
        </row>
        <row>
          <entry>
            $(MONTH)
          </entry>
          <entry>
            month at the date of import
          </entry>
        </row>
        <row>
          <entry>
            $(DAY)
          </entry>
          <entry>
            day at the date of import
          </entry>
        </row>
        <row>
          <entry>
            $(HOUR)
          </entry>
          <entry>
            hour at the time of import
          </entry>
        </row>
        <row>
          <entry>
            $(MINUTE)
          </entry>
          <entry>
            minute at the time of import
          </entry>
        </row>
        <row>
          <entry>
            $(SECOND)
          </entry>
          <entry>
            second at the time of import
          </entry>
        </row>
        <row>
          <entry>
            $(EXIF_YEAR)
          </entry>
          <entry>
            year the photo was taken (from Exif data)
          </entry>
        </row>
        <row>
          <entry>
            $(EXIF_MONTH)
          </entry>
          <entry>
            month the photo was taken (from Exif data)
          </entry>
        </row>
        <row>
          <entry>
            $(EXIF_DAY)
          </entry>
          <entry>
            day the photo was taken (from Exif data)
          </entry>
        </row>
        <row>
          <entry>
            $(EXIF_HOUR)
          </entry>
          <entry>
            hour the photo was taken (from Exif data)
          </entry>
        </row>
        <row>
          <entry>
            $(EXIF_MINUTE)
          </entry>
          <entry>
            minute the photo was taken (from Exif data)
          </entry>
        </row>
        <row>
          <entry>
            $(EXIF_SECOND)
          </entry>
          <entry>
            seconds the photo was taken (from Exif data)
          </entry>
        </row>
        <row>
          <entry>
            $(EXIF_ISO)
          </entry>
          <entry>
            ISO value of the photo (from Exif data)
          </entry>
        </row>
      </tbody>
    </tgroup>
  </informaltable>

  <bridgehead renderas="sect4">base directory naming pattern</bridgehead>

  <para>
    The base directory part of the naming pattern (default
    <quote>$(PICTURES_FOLDER)/Darktable</quote>).
  </para>

  <bridgehead renderas="sect4">sub directory naming pattern</bridgehead>

  <para>
    The sub directory part of the naming pattern (default
    <quote>$(YEAR)$(MONTH)$(DAY)_$(JOBCODE)</quote>).
  </para>

  <bridgehead renderas="sect4">file naming pattern</bridgehead>

  <para>
    The file name part of the naming pattern (default
    <quote>$(YEAR)$(MONTH)$(DAY)_$(SEQUENCE).$(FILE_EXTENSION</quote>).
  </para>

</sect1>

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top