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