source: gnome/add/gnome-screensaver.xml@ 705dba2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 705dba2 was 705dba2, checked in by Randy McMurchy <randy@…>, 17 years ago

Updated some GNOME utility packages: GDM-2.18.3, GNOME Utilities-2.18.1, gnome-screensaver-2.18.2, zenity-2.18.2

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6977 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 12.1 KB
Line 
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-screensaver-download-http "&gnome-download-http;/gnome-screensaver/&gnome-version;/gnome-screensaver-&gnome-screensaver-version;.tar.bz2">
8 <!ENTITY gnome-screensaver-download-ftp "&gnome-download-ftp;/gnome-screensaver/&gnome-version;/gnome-screensaver-&gnome-screensaver-version;.tar.bz2">
9 <!ENTITY gnome-screensaver-md5sum "b5931e1f39c62acee0df1fcf016ddc39">
10 <!ENTITY gnome-screensaver-size "2.0 MB">
11 <!ENTITY gnome-screensaver-buildsize "21 MB">
12 <!ENTITY gnome-screensaver-time "0.3 SBU">
13]>
14
15<sect1 id="gnome-screensaver" xreflabel="gnome-screensaver-&gnome-screensaver-version;">
16 <?dbhtml filename="gnome-screensaver.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>gnome-screensaver-&gnome-screensaver-version;</title>
24
25 <indexterm zone="gnome-screensaver">
26 <primary sortas="a-gnome-screensaver">gnome-screensaver</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to gnome-screensaver</title>
31
32 <para>The <application>gnome-screensaver</application> package contains a
33 screen saver and locker designed to have simple, sane, secure defaults
34 and be well integrated with the desktop. It supports locking down of
35 configuration settings, has translations into many languages and
36 convenient user switching.</para>
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&gnome-screensaver-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&gnome-screensaver-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &gnome-screensaver-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &gnome-screensaver-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &gnome-screensaver-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &gnome-screensaver-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">gnome-screensaver Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Required</bridgehead>
63 <para role="required"><xref linkend="dbus-glib"/>,
64 <xref linkend="libgnomeui"/>, and
65 <xref linkend="gnome-menus"/></para>
66
67 <bridgehead renderas="sect4">Optional</bridgehead>
68 <para role="optional"><xref linkend="intltool"/>,
69 <xref linkend="libexif"/>,
70 <xref linkend="linux-pam"/>,
71 <xref linkend="libgnomekbd"/>,
72 <xref linkend="xscreensaver"/>
73 (and <xref linkend="libxslt"/>),
74 <xref linkend="gdm"/>, and
75 <ulink url="http://cyberelk.net/tim/xmlto/">xmlto</ulink></para>
76
77 <para condition="html" role="usernotes">User Notes:
78 <ulink url="&blfs-wiki;/gnome-screensaver"/></para>
79
80 </sect2>
81
82 <sect2 role="installation">
83 <title>Installation of gnome-screensaver</title>
84
85 <note>
86 <para><emphasis>Optional Features</emphasis></para>
87
88 <para><emphasis role='strong'>1.</emphasis> If you have
89 <application>XScreenSaver</application> installed and wish to import any
90 or all of the <quote>hacks</quote> into
91 <application>gnome-screensaver</application> themes, set the following
92 environment variable (modify it if <application>XScreenSaver</application>
93 is installed in a non-standard location):</para>
94
95<screen><userinput>XSAVERDIR=/usr/share/xscreensaver/config</userinput></screen>
96
97 <para>Also add the following parameter to the <command>configure</command>
98 script below:</para>
99
100<screen><userinput> --with-xscreensaverdir=$XSAVERDIR</userinput></screen>
101
102 <para><emphasis role='strong'>2.</emphasis> If you have
103 <application>GDM</application> installed and wish to provide user-switching
104 from the <application>gnome-screensaver</application> unlock-screen dialog
105 box, add the following parameter to the <command>configure</command> script
106 below:</para>
107
108<screen><userinput> --with-gdm-config=&gnome-etc-dir;/gdm/custom.conf</userinput></screen>
109 </note>
110
111 <para>Install <application>gnome-screensaver</application> by running the
112 following commands:</para>
113
114<screen><userinput>sed -i 's|etc/pam\.d"|etc"|' data/Makefile.in &amp;&amp;
115./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
116 --sysconfdir=&gnome-etc-dir; \
117 --libexecdir=$(pkg-config \
118 --variable=prefix ORBit-2.0)/lib/gnome-screensaver \
119 --with-pam-prefix=/etc &amp;&amp;
120make</userinput></screen>
121
122 <para>If you have <application>XScreenSaver</application> installed and
123 wish to import any or all of the <quote>hacks</quote> into
124 <application>gnome-screensaver</application> themes, you'll need to
125 identify which <quote>hacks</quote> you wish to import. The commands
126 below will import all of them. If you want to import less than all of
127 them, modify the setting of the <envar>XSAVERLIST</envar> environment
128 variable below (listing the desired hacks by filename without the
129 extension, space delimited) and issue the following commands:</para>
130
131<screen><userinput>mkdir xscreensavers &amp;&amp;
132cd xscreensavers &amp;&amp;
133
134XSAVERLIST="*" &amp;&amp;
135
136for SAVERLIST in $(ls ${XSAVERDIR}/${XSAVERLIST}.xml); do
137 ../data/migrate-xscreensaver-config.sh $SAVERLIST
138done &amp;&amp;
139
140unset XSAVERDIR
141unset XSAVERLIST
142unset SAVERLIST
143
144cd ..</userinput></screen>
145
146 <para>This package does not come with a test suite.</para>
147
148 <para>Now, as the <systemitem class='username'>root</systemitem> user:</para>
149
150<screen role='root'><userinput>make install &amp;&amp;
151
152GNOMEDOCDIR="$(pkg-config \
153 --variable=prefix ORBit-2.0)/share/doc/gnome-screensaver-&gnome-screensaver-version;" &amp;&amp;
154
155install -v -m644 -D doc/gnome-screensaver.html \
156 ${GNOMEDOCDIR}/gnome-screensaver.html &amp;&amp;
157unset GNOMEDOCDIR</userinput></screen>
158
159 <para>If you identified some, or all,
160 <application>XScreenSaver</application> hacks to be imported into
161 <application>gnome-screensaver</application>, install them by issuing the
162 following commands as the <systemitem class='username'>root</systemitem>
163 user:</para>
164
165<screen role='root'><userinput>install -v -m755 -d $(pkg-config --variable=prefix \
166 ORBit-2.0)/share/gnome-screensaver/themes/xscreensaver &amp;&amp;
167install -v -m644 xscreensavers/*.desktop \
168 $(pkg-config --variable=prefix \
169 ORBit-2.0)/share/gnome-screensaver/themes/xscreensaver</userinput></screen>
170
171 </sect2>
172
173 <sect2 role="commands">
174 <title>Command Explanations</title>
175
176 <para><command>sed -i 's|etc/pam\.d"|etc|' data/Makefile.in</command>:
177 This command is used so that an erroneous message to copy the PAM
178 configuration file is not displayed.</para>
179
180 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
181 href="../../xincludes/gnome-prefix.xml"/>
182
183 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
184 href="../../xincludes/gnome-sysconfdir.xml"/>
185
186 <para><parameter>--libexecdir=$(pkg-config --variable=prefix
187 ORBit-2.0)/lib/gnome-screensaver</parameter>: This parameter causes the
188 libexec files to be installed in the preferred location of
189 <filename class="directory">$GNOME_PREFIX/lib/gnome-screensaver</filename>
190 instead of
191 <filename class="directory">$GNOME_PREFIX/libexec</filename>.</para>
192
193 <para><parameter>--with-pam-prefix=/etc</parameter>: This parameter is
194 used so that the <application>Linux-PAM</application> configuration file
195 for the <application>gnome-screensaver</application> application is
196 installed in the correct location. You may omit this parameter if you
197 don't have <application>Linux-PAM</application> installed, though it
198 won't affect the build if you don't.</para>
199
200 </sect2>
201
202 <sect2 role="configuration">
203 <title>Configuring gnome-screensaver</title>
204
205 <sect3 id="gnome-screensaver-config">
206 <title>Config Files</title>
207
208 <para><filename>/etc/pam.d/gnome-screensaver</filename>,
209 <filename>&gnome-etc-dir;/gdm/custom.conf</filename></para>
210
211 <indexterm zone="gnome-screensaver gnome-screensaver-config">
212 <primary sortas="e-etc-pam.d-gnome-screensaver">
213 /etc/pam.d/gnome-screensaver</primary>
214 </indexterm>
215 <indexterm zone="gnome-screensaver gnome-screensaver-config">
216 <primary sortas="etc-gnome-&gnome-version;&gnome-minor-version;gdm-custom.conf">
217 &gnome-etc-dir;/gdm/custom.conf</primary>
218 </indexterm>
219
220 </sect3>
221
222 <sect3>
223 <title>Configuration Information</title>
224
225 <sect4>
226 <title>General Configuration</title>
227
228 <para>Most of the <application>gnome-screensaver</application>
229 configuration parameters can be modified using the
230 <guimenuitem>Screensaver</guimenuitem> menu item from the
231 <guimenu>Desktop</guimenu>&mdash;<guisubmenu>Preferences</guisubmenu>
232 drop-down menu. Some of the fine-tuning parameters are only available
233 using <xref linkend="gconf-editor"/>.</para>
234
235 </sect4>
236
237 <sect4>
238 <title>Linux-PAM Configuration</title>
239
240 <para>If you have <application>Linux-PAM</application> installed, the
241 just-installed <filename>gnome-screensaver</filename> configuration
242 file does not work with a BLFS system. Replace the existing file with
243 one that can be used on a BLFS system by issuing the following command
244 as the <systemitem class='username'>root</systemitem> user:</para>
245
246<screen role="root"><userinput>cat &gt; /etc/pam.d/gnome-screensaver &lt;&lt; "EOF"
247<literal># File: /etc/pam.d/gnome-screensaver
248
249auth required pam_unix.so
250account required pam_unix.so
251session required pam_unix.so
252password required pam_unix.so</literal>
253
254EOF
255chmod -v 644 /etc/pam.d/gnome-screensaver</userinput></screen>
256
257 </sect4>
258
259 <sect4>
260 <title>User-Switching Configuration</title>
261
262 <para>If you have <application>GDM</application> installed and you
263 passed the <option>--with-gdm-config=</option> option to the
264 <command>configure</command> script, the screen-unlocking dialog box
265 will contain an option to <quote>Switch Users</quote>. This user
266 switching option uses the same configuration as
267 <application>GDM</application> to determine what users are displayed
268 in this dialog. You can use the <application>GDM</application>
269 configuration option from the GDM login screen, or you can directly
270 edit the <filename>&gnome-etc-dir;/gdm/custom.conf</filename> file to
271 modify the settings. </para>
272
273 </sect4>
274
275 </sect3>
276
277 </sect2>
278
279 <sect2 role="content">
280 <title>Contents</title>
281
282 <segmentedlist>
283 <segtitle>Installed Programs</segtitle>
284 <segtitle>Installed Libraries</segtitle>
285 <segtitle>Installed Directories</segtitle>
286
287 <seglistitem>
288 <seg>gnome-screensaver, gnome-screensaver-command and
289 gnome-screensaver-preferences</seg>
290 <seg>None</seg>
291 <seg><envar>$GNOME_PREFIX</envar>/share/{doc/gnome-screensaver-&gnome-screensaver-version;,
292 gnome-screensaver, pixmaps/backgrounds/cosmos}</seg>
293 </seglistitem>
294 </segmentedlist>
295
296 <variablelist>
297 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
298 <?dbfo list-presentation="list"?>
299 <?dbhtml list-presentation="table"?>
300
301 <varlistentry id="gnome-screensaver-prog">
302 <term><command>gnome-screensaver</command></term>
303 <listitem>
304 <para>is a screensaver and screen-locking program designed to
305 work seamlessly with the GNOME desktop.</para>
306 <indexterm zone="gnome-screensaver gnome-screensaver-prog">
307 <primary sortas="b-gnome-screensaver">gnome-screensaver</primary>
308 </indexterm>
309 </listitem>
310 </varlistentry>
311
312 </variablelist>
313
314 </sect2>
315
316</sect1>
Note: See TracBrowser for help on using the repository browser.