1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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
|
---|
8 | "&gnome-download-http;/gnome-settings-daemon/&gnome-46;/gnome-settings-daemon-&gnome-settings-daemon-version;.tar.xz">
|
---|
9 | <!ENTITY gnome-settings-daemon-download-ftp " ">
|
---|
10 | <!ENTITY gnome-settings-daemon-md5sum "408d4fc18cf6971828ff957e052ce4dd">
|
---|
11 | <!ENTITY gnome-settings-daemon-size "1.4 MB">
|
---|
12 | <!ENTITY gnome-settings-daemon-buildsize "35 MB">
|
---|
13 | <!ENTITY gnome-settings-daemon-time "0.1 SBU (Using parallelism=4)">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="gnome-settings-daemon" xreflabel="gnome-settings-daemon-&gnome-settings-daemon-version;">
|
---|
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 |
|
---|
35 | &lfs122_checked;
|
---|
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 | <!--
|
---|
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>
|
---|
81 | -->
|
---|
82 |
|
---|
83 | <bridgehead renderas="sect3">GNOME Settings Daemon Dependencies</bridgehead>
|
---|
84 |
|
---|
85 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
86 | <para role="required">
|
---|
87 | <xref linkend="alsa-lib"/>,
|
---|
88 | <xref linkend="colord"/>,
|
---|
89 | <xref linkend="fontconfig"/>,
|
---|
90 | <xref linkend="gcr4"/>,
|
---|
91 | <xref linkend="geoclue2"/>,
|
---|
92 | <xref linkend="geocode-glib"/>,
|
---|
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"/>,
|
---|
100 | and <xref linkend="upower"/>
|
---|
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 |
|
---|
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 |
|
---|
125 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
126 | <para role="optional">
|
---|
127 | <xref linkend="gnome-session"/>,
|
---|
128 | <xref linkend="mutter"/>,
|
---|
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"/>)
|
---|
134 | </para>
|
---|
135 |
|
---|
136 | </sect2>
|
---|
137 |
|
---|
138 | <sect2 role="installation">
|
---|
139 | <title>Installation of GNOME Settings Daemon</title>
|
---|
140 |
|
---|
141 | <!--
|
---|
142 | <para>
|
---|
143 | First, fix building with recent versions of
|
---|
144 | <application>meson</application>:
|
---|
145 | </para>
|
---|
146 |
|
---|
147 | <screen><userinput>sed "/ policy,/d" -i plugins/{power,wacom}/meson.build</userinput></screen>
|
---|
148 | -->
|
---|
149 |
|
---|
150 | <para revision="sysv">
|
---|
151 | Next, fix libelogind detection for tests:
|
---|
152 | </para>
|
---|
153 |
|
---|
154 | <screen revision="sysv"><userinput>sed -e 's/libsystemd/libelogind/' \
|
---|
155 | -i plugins/power/test.py</userinput></screen>
|
---|
156 |
|
---|
157 | <para revision="sysv">
|
---|
158 | Next, fix backlight functionality in gnome-control-center:
|
---|
159 | </para>
|
---|
160 |
|
---|
161 | <screen revision="sysv"><userinput>sed -e 's/(backlight->logind_proxy)/(0)/' \
|
---|
162 | -i plugins/power/gsd-backlight.c</userinput></screen>
|
---|
163 |
|
---|
164 | <!--
|
---|
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>
|
---|
171 | -->
|
---|
172 |
|
---|
173 | <para>
|
---|
174 | Install <application>GNOME Settings Daemon</application> by running the
|
---|
175 | following commands:
|
---|
176 | </para>
|
---|
177 |
|
---|
178 | <screen revision='sysv'><userinput>mkdir build &&
|
---|
179 | cd build &&
|
---|
180 |
|
---|
181 | meson setup --prefix=/usr \
|
---|
182 | --buildtype=release \
|
---|
183 | -D systemd=false \
|
---|
184 | .. &&
|
---|
185 | ninja</userinput></screen>
|
---|
186 |
|
---|
187 | <screen revision='systemd'><userinput>mkdir build &&
|
---|
188 | cd build &&
|
---|
189 |
|
---|
190 | meson setup --prefix=/usr --buildtype=release .. &&
|
---|
191 | ninja</userinput></screen>
|
---|
192 |
|
---|
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. -->
|
---|
200 | <para>
|
---|
201 | To check the results, execute: <command>ninja test</command>. Note that
|
---|
202 | you must have <application>python-dbusmock</application> installed in
|
---|
203 | order for the tests to complete successfully. Some tests
|
---|
204 | may fail depending on the init system in use.
|
---|
205 | </para>
|
---|
206 |
|
---|
207 | <para>
|
---|
208 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
209 | </para>
|
---|
210 |
|
---|
211 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
212 |
|
---|
213 | </sect2>
|
---|
214 |
|
---|
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 |
|
---|
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>
|
---|
233 | None
|
---|
234 | </seg>
|
---|
235 | <seg>
|
---|
236 | libgsd.so
|
---|
237 | </seg>
|
---|
238 | <seg>
|
---|
239 | /etc/xdg/Xwayland-session.d,
|
---|
240 | /usr/include/gnome-settings-daemon-46,
|
---|
241 | /usr/lib/gnome-settings-daemon-46, and
|
---|
242 | /usr/share/gnome-settings-daemon
|
---|
243 | </seg>
|
---|
244 | </seglistitem>
|
---|
245 | </segmentedlist>
|
---|
246 | <!-- For version 3.34, there is nothing in /usr/bin but there are a lot
|
---|
247 | of support programs in /usr/libexec. In NEWS:
|
---|
248 |
|
---|
249 | Removed daemon, everything is now implemented in mutter
|
---|
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>
|
---|
271 | -->
|
---|
272 | </sect2>
|
---|
273 |
|
---|
274 | </sect1>
|
---|