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