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