source: general/sysutils/blocaled.xml@ 3f2db3a6

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 3f2db3a6 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 18 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 7.6 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 blocaled-download-http "https://github.com/lfs-book/blocaled/releases/download/v&blocaled-version;/blocaled-&blocaled-version;.tar.xz">
8 <!ENTITY blocaled-download-ftp " ">
9 <!ENTITY blocaled-md5sum "07796cf62fc1e2b743ee6f805183146d">
10 <!ENTITY blocaled-size "258 KB">
11 <!ENTITY blocaled-buildsize "4.1 MB (with tests)">
12 <!ENTITY blocaled-time "0.1 SBU (with tests)">
13]>
14
15<sect1 id="blocaled" revision="sysv" xreflabel="blocaled-&blocaled-version;">
16 <?dbhtml filename="blocaled.html"?>
17
18
19 <title>blocaled-&blocaled-version;</title>
20
21 <indexterm zone="blocaled">
22 <primary sortas="a-blocaled">blocaled</primary>
23 </indexterm>
24
25 <!--Required section-->
26 <sect2 role="package">
27 <title>Introduction to blocaled</title>
28
29 <para>
30 <application>blocaled</application> is an implementation of the
31 <emphasis>org.freedesktop.locale1</emphasis> D-Bus protocol,
32 which normally comes with <application>systemd</application>. It is
33 needed by the <application>GNOME</application> desktop.
34 </para>
35
36 &lfs112_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&blocaled-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&blocaled-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &blocaled-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &blocaled-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &blocaled-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &blocaled-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">blocaled Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para role="required">
76 <xref linkend="polkit"/> and
77 <xref linkend="libdaemon"/>
78 </para>
79
80 <para condition="html" role="usernotes">
81 User Notes: <ulink url="&blfs-wiki;/blocaled"/>
82 </para>
83 </sect2>
84
85 <sect2 role="installation">
86 <title>Installation of blocaled</title>
87
88 <para>
89 Install <application>blocaled</application> by running the following
90 commands:
91 </para>
92
93<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
94make</userinput></screen>
95
96 <para>
97 To test the results, issue: <command>make check</command>.
98 </para>
99
100 <para>
101 Now, as the <systemitem class="username">root</systemitem> user:
102 </para>
103
104<screen role="root"><userinput>make install</userinput></screen>
105 </sect2>
106
107 <sect2 role="configuration">
108 <title>Configuring blocaled</title>
109
110 <sect3 id="blocaled-config">
111 <title>Config Files</title>
112 <para>
113 <filename>/etc/blocaled.conf</filename>
114 </para>
115
116 <indexterm zone="blocaled blocaled-config">
117 <primary
118 sortas="e-etc-blocaled.conf">/etc/blocaled.conf</primary>
119 </indexterm>
120 </sect3>
121
122 <sect3><title>Configuration Information</title>
123
124 <para>
125 <filename>/etc/blocaled.conf</filename> contains the location of
126 the settings files used by <application>blocaled</application>. The
127 defaults are suitable for BLFS. Information about the entries is
128 available as comments in the file.
129 </para>
130
131 <para>
132 The <emphasis>org.freedesktop.locale1</emphasis> protocol is
133 unable to export locale variables. Locale settings are stored
134 by default in <filename>/etc/locale.conf</filename>. We need to
135 retrieve them in the bash profile. As the <systemitem class="username">
136 root</systemitem> user, issue:
137 </para>
138
139<screen role="root"><userinput>cat &gt; /etc/profile.d/i18n.sh &lt;&lt; "EOF"
140<literal># Begin /etc/profile.d/i18n.sh
141
142if [ -r /etc/locale.conf ]; then source /etc/locale.conf; fi
143
144if [ -n "$LANG" ]; then export LANG; fi
145if [ -n "$LC_TYPE" ]; then export LC_TYPE; fi
146if [ -n "$LC_NUMERIC" ]; then export LC_NUMERIC; fi
147if [ -n "$LC_TIME" ]; then export LC_TIME; fi
148if [ -n "$LC_COLLATE" ]; then export LC_COLLATE; fi
149if [ -n "$LC_MONETARY" ]; then export LC_MONETARY; fi
150if [ -n "$LC_MESSAGES" ]; then export LC_MESSAGES; fi
151if [ -n "$LC_PAPER" ]; then export LC_PAPER; fi
152if [ -n "$LC_NAME" ]; then export LC_NAME; fi
153if [ -n "$LC_ADDRESS" ]; then export LC_ADDRESS; fi
154if [ -n "$LC_TELEPHONE" ]; then export LC_TELEPHONE; fi
155if [ -n "$LC_MEASUREMENT" ]; then export LC_MEASUREMENT; fi
156if [ -n "$LC_IDENTIFICATION" ]; then export LC_IDENTIFICATION; fi
157
158# End /etc/profile.d/i18n.sh</literal>
159EOF</userinput></screen>
160
161 <para>
162 Then the <filename>/etc/locale</filename> file should be generated,
163 as the <systemitem class="username">root</systemitem> user:
164 </para>
165
166<screen role="root"><userinput>cat &gt; /etc/locale.conf &lt;&lt; EOF
167<literal># Begin /etc/locale.conf
168
169LANG=$LANG
170
171# End /etc/locale.conf</literal>
172EOF</userinput></screen>
173
174 <para>
175 If you plan to run an X (or Wayland) Window system, you may want to
176 set up your X keyboard. The best way to do it is to retrieve the
177 settings from <filename>/etc/sysconfig/console</filename>, and feed
178 them to the <application>blocaled</application> daemon. As the
179 <systemitem class="username">root</systemitem> user:
180 </para>
181
182<screen role="root"><userinput>source /etc/sysconfig/console &amp;&amp;
183KEYMAP=${KEYMAP:-us} &amp;&amp;
184
185gdbus call --system \
186 --dest org.freedesktop.locale1 \
187 --object-path /org/freedesktop/locale1 \
188 --method org.freedesktop.locale1.SetVConsoleKeyboard \
189 "$KEYMAP" "$KEYMAP_CORRECTIONS" true true</userinput></screen>
190
191 <para>
192 This should create or modify the Xorg configuration file (default is
193 <filename>/etc/X11/xorg.conf.d/30-keyboard.conf</filename>) to match
194 the keyboard settings set in <envar>KEYMAP</envar>.
195 </para>
196
197 </sect3>
198
199 </sect2>
200
201 <sect2 role="content">
202 <title>Contents</title>
203
204 <segmentedlist>
205 <segtitle>Installed Program</segtitle>
206 <segtitle>Installed Library</segtitle>
207 <segtitle>Installed Directory</segtitle>
208
209 <seglistitem>
210 <seg>
211 blocaled (in <filename class="directory">/usr/libexec</filename>)
212 </seg>
213 <seg>
214 None
215 </seg>
216 <seg>
217 /usr/share/blocaled
218 </seg>
219 </seglistitem>
220 </segmentedlist>
221
222 <variablelist>
223 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
224 <?dbfo list-presentation="list"?>
225 <?dbhtml list-presentation="table"?>
226
227 <varlistentry id="blocaled-prog">
228 <term><command>blocaled</command></term>
229 <listitem>
230 <para>
231 is the daemon implementing the
232 <emphasis>org.freedesktop.locale1</emphasis> D-Bus protocol
233 </para>
234 <indexterm zone="blocaled blocaled-prog">
235 <primary sortas="b-blocaled">blocaled</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239 </variablelist>
240 </sect2>
241
242</sect1>
Note: See TracBrowser for help on using the repository browser.