File: flatpak-installation.xml

package info (click to toggle)
flatpak 1.16.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,028 kB
  • sloc: ansic: 101,055; xml: 11,453; sh: 4,871; python: 2,251; yacc: 1,236; makefile: 86; csh: 20
file content (97 lines) | stat: -rw-r--r-- 3,439 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version='1.0'?> <!--*-nxml-*-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">

<refentry id="flatpak-installation">

    <refentryinfo>
        <title>flatpak installation</title>
        <productname>flatpak</productname>

        <authorgroup>
            <author>
                <contrib>Developer</contrib>
                <firstname>Alexander</firstname>
                <surname>Larsson</surname>
                <email>alexl@redhat.com</email>
            </author>
        </authorgroup>
    </refentryinfo>

    <refmeta>
        <refentrytitle>flatpak installation</refentrytitle>
        <manvolnum>5</manvolnum>
    </refmeta>

    <refnamediv>
        <refname>flatpak-installation</refname>
        <refpurpose>Configuration for an installation location</refpurpose>
    </refnamediv>

    <refsect1>
        <title>Description</title>

        <para>
            flatpak can operate in system-wide or per-user mode. The system-wide data
            is located in <filename>$prefix/var/lib/flatpak/</filename>, and the per-user data is in
            <filename>$HOME/.local/share/flatpak/</filename>.
        </para>

        <para>
            In addition to the default installation locations, more system-wide installations
            can be defined via configuration files <filename>/etc/flatpak/installations.d/</filename>,
            which must have the .conf extension and follow the format described below.
        </para>
    </refsect1>

    <refsect1>
        <title>File format</title>

        <para>
            The installation config file format is using the same .ini file format that is used
            for systemd unit files or application .desktop files.
        </para>

        <refsect2>
            <title>[Installation …]</title>
            <para>
                All the configuration for the the installation location with name NAME is contained
                in the [Installation "NAME"] group.
            </para>
            <para>
                The following keys are recognized:
            </para>
            <variablelist>
                <varlistentry>
                    <term><option>Path</option> (string)</term>
                    <listitem><para>The path for this installation. This key is mandatory.</para></listitem>
                </varlistentry>
                <varlistentry>
                    <term><option>DisplayName</option> (string)</term>
                    <listitem><para>The name to use when showing this installation in the UI.</para></listitem>
                </varlistentry>
                <varlistentry>
                    <term><option>Priority</option> (integer)</term>
                    <listitem><para>A priority for this installation.</para></listitem>
                </varlistentry>
                <varlistentry>
                    <term><option>StorageType</option> (string)</term>
                    <listitem><para>The type of storage used for this installation. Possible values include: network, mmc, sdcard, harddisk.</para></listitem>
                </varlistentry>
            </variablelist>
        </refsect2>
    </refsect1>

    <refsect1>
        <title>Examples</title>

<programlisting>
[Installation "extra"]
Path=/location/of/sdcard
DisplayName=Extra Installation
StorageType=sdcard
</programlisting>

    </refsect1>

</refentry>