[614fce8e] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY gnome-settings-daemon-download-http
|
---|
[fc72ade] | 8 | "&gnome-download-http;/gnome-settings-daemon/&gnome-44;/gnome-settings-daemon-&gnome-settings-daemon-version;.tar.xz">
|
---|
[614fce8e] | 9 | <!ENTITY gnome-settings-daemon-download-ftp
|
---|
[fc72ade] | 10 | "&gnome-download-ftp;/gnome-settings-daemon/&gnome-44;/gnome-settings-daemon-&gnome-settings-daemon-version;.tar.xz">
|
---|
| 11 | <!ENTITY gnome-settings-daemon-md5sum "5539036fdc10b9f250890b725fdbfb05">
|
---|
[7b7dfc9e] | 12 | <!ENTITY gnome-settings-daemon-size "1.4 MB">
|
---|
[fc72ade] | 13 | <!ENTITY gnome-settings-daemon-buildsize "38 MB">
|
---|
[964689af] | 14 | <!ENTITY gnome-settings-daemon-time "0.1 SBU (Using parallelism=4)">
|
---|
[614fce8e] | 15 | ]>
|
---|
| 16 |
|
---|
[51dfb3e] | 17 | <sect1 id="gnome-settings-daemon" xreflabel="gnome-settings-daemon-&gnome-settings-daemon-version;">
|
---|
[614fce8e] | 18 | <?dbhtml filename="gnome-settings-daemon.html"?>
|
---|
| 19 |
|
---|
| 20 |
|
---|
| 21 | <title>gnome-settings-daemon-&gnome-settings-daemon-version;</title>
|
---|
| 22 |
|
---|
| 23 | <indexterm zone="gnome-settings-daemon">
|
---|
| 24 | <primary sortas="a-gnome-settings-daemon">gnome-settings-daemon</primary>
|
---|
| 25 | </indexterm>
|
---|
| 26 |
|
---|
| 27 | <sect2 role="package">
|
---|
| 28 | <title>Introduction to GNOME Settings Daemon</title>
|
---|
| 29 |
|
---|
| 30 | <para>
|
---|
| 31 | The <application>GNOME Settings Daemon</application> is responsible
|
---|
| 32 | for setting various parameters of a <application>GNOME Session</application>
|
---|
| 33 | and the applications that run under it.
|
---|
| 34 | </para>
|
---|
| 35 |
|
---|
[c71450c] | 36 | &lfs120_checked;
|
---|
[614fce8e] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&gnome-settings-daemon-download-http;"/>
|
---|
| 43 | </para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&gnome-settings-daemon-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download MD5 sum: &gnome-settings-daemon-md5sum;
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download size: &gnome-settings-daemon-size;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Estimated disk space required: &gnome-settings-daemon-buildsize;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated build time: &gnome-settings-daemon-time;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect3">GNOME Settings Daemon Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 75 | <para role="required">
|
---|
[2cd2b51] | 76 | <xref linkend="alsa-lib"/>,
|
---|
[614fce8e] | 77 | <xref linkend="colord"/>,
|
---|
[a1e15c4] | 78 | <xref linkend="fontconfig"/>,
|
---|
[7ef053d] | 79 | <xref linkend="gcr4"/>,
|
---|
[614fce8e] | 80 | <xref linkend="geoclue2"/>,
|
---|
[6259734] | 81 | <xref linkend="geocode-glib"/>,
|
---|
[614fce8e] | 82 | <xref linkend="gnome-desktop"/>,
|
---|
| 83 | <xref linkend="lcms2"/>,
|
---|
| 84 | <xref linkend="libcanberra"/>,
|
---|
| 85 | <xref linkend="libgweather"/>,
|
---|
| 86 | <xref linkend="libnotify"/>,
|
---|
| 87 | <xref linkend="libwacom"/>,
|
---|
| 88 | <xref linkend="pulseaudio"/>,
|
---|
[89f74953] | 89 | and <xref linkend="upower"/>
|
---|
[614fce8e] | 90 | </para>
|
---|
| 91 |
|
---|
| 92 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 93 | <para role="recommended">
|
---|
| 94 | <xref linkend="alsa"/>,
|
---|
| 95 | <xref linkend="cups"/>,
|
---|
| 96 | <xref linkend="NetworkManager"/>,
|
---|
| 97 | <xref linkend="nss"/>, and
|
---|
| 98 | <xref linkend="wayland"/>
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
| 101 | <note>
|
---|
| 102 | <para>
|
---|
| 103 | Recommended dependencies are not strictly required for
|
---|
| 104 | this package to build and function, but you may not get
|
---|
| 105 | expected results at runtime if you don't install them.
|
---|
| 106 | </para>
|
---|
| 107 | </note>
|
---|
| 108 |
|
---|
[2126b9e] | 109 | <bridgehead renderas="sect4"
|
---|
| 110 | revision="sysv">Recommended (Runtime)</bridgehead>
|
---|
| 111 | <para role="recommended" revision="sysv">
|
---|
| 112 | <xref linkend="blocaled" role="runtime"/>
|
---|
| 113 | </para>
|
---|
| 114 |
|
---|
[6eea7da] | 115 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 116 | <para role="optional">
|
---|
[f1cb793] | 117 | <xref linkend="gnome-session"/>,
|
---|
[3609a85] | 118 | <xref linkend="mutter"/>,
|
---|
[1e6b5501] | 119 | <xref linkend="python-dbusmock"/>,
|
---|
| 120 | <xref linkend="umockdev"/>, and
|
---|
| 121 | <command>Xvfb</command> (for tests, from
|
---|
| 122 | <xref linkend="xorg-server"/> or
|
---|
| 123 | <xref role="nodep" linkend="xwayland"/>)
|
---|
[6eea7da] | 124 | </para>
|
---|
| 125 |
|
---|
[614fce8e] | 126 | </sect2>
|
---|
| 127 |
|
---|
| 128 | <sect2 role="installation">
|
---|
| 129 | <title>Installation of GNOME Settings Daemon</title>
|
---|
| 130 |
|
---|
[5098a49] | 131 | <!--
|
---|
[2f2bfbd] | 132 | <para>
|
---|
[9c747e2] | 133 | First, fix building with recent versions of
|
---|
| 134 | <application>meson</application>:
|
---|
[2f2bfbd] | 135 | </para>
|
---|
| 136 |
|
---|
| 137 | <screen><userinput>sed "/ policy,/d" -i plugins/{power,wacom}/meson.build</userinput></screen>
|
---|
[5098a49] | 138 | -->
|
---|
[2f2bfbd] | 139 |
|
---|
[8169f4e] | 140 | <para revision="sysv">
|
---|
[2f2bfbd] | 141 | Next, fix libelogind detection for tests:
|
---|
[8169f4e] | 142 | </para>
|
---|
| 143 |
|
---|
| 144 | <screen revision="sysv"><userinput>sed -e 's/libsystemd/libelogind/' \
|
---|
| 145 | -i plugins/power/test.py</userinput></screen>
|
---|
| 146 |
|
---|
[7533b500] | 147 | <para revision="sysv">
|
---|
| 148 | Next, fix backlight functionality in gnome-control-center:
|
---|
| 149 | </para>
|
---|
| 150 |
|
---|
[2b8d98f] | 151 | <screen revision="sysv"><userinput>sed -e 's/(backlight->logind_proxy)/(0)/' \
|
---|
[7533b500] | 152 | -i plugins/power/gsd-backlight.c</userinput></screen>
|
---|
| 153 |
|
---|
[614fce8e] | 154 | <para>
|
---|
| 155 | Install <application>GNOME Settings Daemon</application> by running the
|
---|
| 156 | following commands:
|
---|
| 157 | </para>
|
---|
| 158 |
|
---|
[baaf6020] | 159 | <screen revision='sysv'><userinput>mkdir build &&
|
---|
| 160 | cd build &&
|
---|
| 161 |
|
---|
[91318eb] | 162 | meson setup --prefix=/usr \
|
---|
| 163 | --buildtype=release \
|
---|
| 164 | -Dsystemd=false \
|
---|
| 165 | .. &&
|
---|
[baaf6020] | 166 | ninja</userinput></screen>
|
---|
| 167 |
|
---|
| 168 | <screen revision='systemd'><userinput>mkdir build &&
|
---|
[27229db] | 169 | cd build &&
|
---|
| 170 |
|
---|
[91318eb] | 171 | meson setup --prefix=/usr --buildtype=release .. &&
|
---|
[27229db] | 172 | ninja</userinput></screen>
|
---|
[614fce8e] | 173 |
|
---|
[8169f4e] | 174 | <!-- [renodr, June 29th, 2019]: for some reason, on elogind, all tests
|
---|
| 175 | passed. 8 failed on systemd. It could be kernel configuration, or
|
---|
| 176 | any other package change. umockdev might be needed, but it works
|
---|
| 177 | fine without it on elogind.
|
---|
| 178 | [pierre, July 31st, 2020]: only one test passed on elogind. I
|
---|
| 179 | have umockdev, but it does not look like it is used. Adding the
|
---|
| 180 | sed allows 9 tests out of 10 to pass. -->
|
---|
[614fce8e] | 181 | <para>
|
---|
[6eea7da] | 182 | To check the results, execute: <command>ninja test</command>. Note that
|
---|
| 183 | you must have <application>python-dbusmock</application> installed in
|
---|
[8169f4e] | 184 | order for the tests to complete successfully. Some tests
|
---|
| 185 | may fail depending on the init system in use.
|
---|
[614fce8e] | 186 | </para>
|
---|
| 187 |
|
---|
| 188 | <para>
|
---|
| 189 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 190 | </para>
|
---|
| 191 |
|
---|
[18707a2] | 192 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[614fce8e] | 193 |
|
---|
| 194 | </sect2>
|
---|
| 195 |
|
---|
[adf17153] | 196 | <sect2 role="commands">
|
---|
| 197 | <title>Command Explanations</title>
|
---|
| 198 |
|
---|
| 199 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 200 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 201 |
|
---|
| 202 | </sect2>
|
---|
| 203 |
|
---|
[614fce8e] | 204 | <sect2 role="content">
|
---|
| 205 | <title>Contents</title>
|
---|
| 206 |
|
---|
| 207 | <segmentedlist>
|
---|
| 208 | <segtitle>Installed Programs</segtitle>
|
---|
| 209 | <segtitle>Installed Libraries</segtitle>
|
---|
| 210 | <segtitle>Installed Directories</segtitle>
|
---|
| 211 |
|
---|
| 212 | <seglistitem>
|
---|
| 213 | <seg>
|
---|
[baaf6020] | 214 | None
|
---|
[614fce8e] | 215 | </seg>
|
---|
| 216 | <seg>
|
---|
[baaf6020] | 217 | libgsd.so
|
---|
[614fce8e] | 218 | </seg>
|
---|
| 219 | <seg>
|
---|
[1a8fb18] | 220 | /etc/xdg/Xwayland-session.d,
|
---|
[fc72ade] | 221 | /usr/include/gnome-settings-daemon-44,
|
---|
| 222 | /usr/lib/gnome-settings-daemon-44, and
|
---|
[614fce8e] | 223 | /usr/share/gnome-settings-daemon
|
---|
| 224 | </seg>
|
---|
| 225 | </seglistitem>
|
---|
| 226 | </segmentedlist>
|
---|
[8558044] | 227 | <!-- For version 3.34, there is nothing in /usr/bin but there are a lot
|
---|
[baaf6020] | 228 | of support programs in /usr/libexec. In NEWS:
|
---|
| 229 |
|
---|
| 230 | Removed daemon, everything is now implemented in mutter
|
---|
[614fce8e] | 231 |
|
---|
| 232 | <variablelist>
|
---|
| 233 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 234 | <?dbfo list-presentation="list"?>
|
---|
| 235 | <?dbhtml list-presentation="table"?>
|
---|
| 236 |
|
---|
| 237 | <varlistentry id="gnome-settings-daemon-prog">
|
---|
| 238 | <term><command>gnome-settings-daemon</command></term>
|
---|
| 239 | <listitem>
|
---|
| 240 | <para>
|
---|
| 241 | is responsible for setting the various preference parameters of
|
---|
| 242 | a <application>GNOME</application> session and the applications
|
---|
| 243 | that run under it.
|
---|
| 244 | </para>
|
---|
| 245 | <indexterm zone="gnome-settings-daemon gnome-settings-daemon-prog">
|
---|
| 246 | <primary sortas="b-gnome-settings-daemon">gnome-settings-daemon</primary>
|
---|
| 247 | </indexterm>
|
---|
| 248 | </listitem>
|
---|
| 249 | </varlistentry>
|
---|
| 250 |
|
---|
| 251 | </variablelist>
|
---|
[baaf6020] | 252 | -->
|
---|
[614fce8e] | 253 | </sect2>
|
---|
| 254 |
|
---|
| 255 | </sect1>
|
---|