Gentoo Archives: gentoo-doc-cvs

From: "Sven Vermeulen (swift)" <swift@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: guide-localization.xml
Date: Mon, 12 Sep 2011 19:42:38
Message-Id: 20110912194227.5B9222004C@flycatcher.gentoo.org
1 swift 11/09/12 19:42:27
2
3 Modified: guide-localization.xml
4 Log:
5 Fix bug #382525 - Updates for OpenRC on localization guide. Patch by Francisco "klondike"
6
7 Revision Changes Path
8 1.63 xml/htdocs/doc/en/guide-localization.xml
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/guide-localization.xml?rev=1.63&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/guide-localization.xml?rev=1.63&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/guide-localization.xml?r1=1.62&r2=1.63
13
14 Index: guide-localization.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v
17 retrieving revision 1.62
18 retrieving revision 1.63
19 diff -u -r1.62 -r1.63
20 --- guide-localization.xml 4 Sep 2011 17:53:40 -0000 1.62
21 +++ guide-localization.xml 12 Sep 2011 19:42:27 -0000 1.63
22 @@ -1,5 +1,5 @@
23 <?xml version='1.0' encoding='UTF-8'?>
24 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.62 2011/09/04 17:53:40 swift Exp $ -->
25 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.63 2011/09/12 19:42:27 swift Exp $ -->
26 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
27
28 <guide>
29 @@ -25,6 +25,9 @@
30 <author title="Editor">
31 <mail link="nightmorph"/>
32 </author>
33 +<author title="Editor">
34 + <mail link="klondike"/>
35 +</author>
36
37 <abstract>
38 This guide should help users localize their Gentoo Linux distribution to any
39 @@ -32,8 +35,8 @@
40 the German doc. Includes configuration for use of the euro currency symbol.
41 </abstract>
42
43 -<version>1.46</version>
44 -<date>2010-02-14</date>
45 +<version>2</version>
46 +<date>2011-09-12</date>
47
48 <chapter>
49 <title>Time zone</title>
50 @@ -44,7 +47,7 @@
51 In order to keep time properly, you need to select your timezone so that your
52 system knows where it is located. Look for your timezone in
53 <path>/usr/share/zoneinfo</path>. You then set your timezone in
54 -<path>/etc/conf.d/clock</path>. Please avoid the
55 +<path>/etc/timezone</path>. Please avoid the
56 <path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their names do not
57 indicate the expected zones. For instance, <path>GMT-8</path> is in fact GMT+8.
58 </p>
59 @@ -55,8 +58,8 @@
60 <comment>(First copy the proper zone to localtime)</comment>
61 # <i>cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime</i>
62 <comment>(Now specify your timezone)</comment>
63 -# <i>nano -w /etc/conf.d/clock</i>
64 -TIMEZONE="Europe/Brussels"
65 +# <i>nano -w /etc/timezone</i>
66 +Europe/Brussels
67
68 # <i>date</i>
69 Wed Mar 8 00:46:05 CET 2006
70 @@ -88,15 +91,16 @@
71 UTC (or GMT, Greenwich Mean Time) and then your timezone is
72 taken into account to determine the actual, local time. If,
73 for some reason, you need your hardware clock not to be in UTC,
74 -you will need to edit <path>/etc/conf.d/clock</path> and change the
75 -value of <c>CLOCK</c> from <c>UTC</c> to <c>local</c>.
76 +you will need to edit <path>/etc/conf.d/hwclock</path> (or if you use Gentoo
77 +BSD: <path>/etc/conf.d/adjkerntz</path>) and change the
78 +value of <c>clock</c> from <c>UTC</c> to <c>local</c>.
79 </p>
80
81 <pre caption="local vs. GMT clock">
82 <comment>(recommended:)</comment>
83 -CLOCK="UTC"
84 +clock="UTC"
85 <comment>(or:)</comment>
86 -CLOCK="local"
87 +clock="local"
88 </pre>
89
90 </body>
91 @@ -222,7 +226,7 @@
92
93 <note>
94 Use <c>de_DE@euro</c> as your LANG if you want to use the Euro currency symbol
95 -(€).
96 +(€) on non UTF-8 based locales.
97 </note>
98
99 <p>
100 @@ -347,7 +351,7 @@
101
102 <p>
103 The keyboard layout used by the console is set in
104 -<path>/etc/conf.d/keymaps</path> by the <c>KEYMAP</c> variable.
105 +<path>/etc/conf.d/keymaps</path> by the <c>keymap</c> variable.
106 Valid values can be found in
107 <path>/usr/share/keymaps/<c>{arch}</c>/</path>.
108 <path>i386</path> has further subdivisions into layout
109 @@ -357,9 +361,9 @@
110 </p>
111
112 <pre caption="Setting the console keymap">
113 -KEYMAP="de"
114 -KEYMAP="de-latin1"
115 -KEYMAP="de-latin1-nodeadkeys"
116 +keymap="de"
117 +keymap="de-latin1"
118 +keymap="de-latin1-nodeadkeys"
119 </pre>
120
121 </body>
122 @@ -378,13 +382,13 @@
123 </p>
124
125 <pre caption="Setting the X keymap">
126 - Section "InputDevice"
127 - Identifier "Keyboard1"
128 - ...
129 - Option "XkbLayout" "de"
130 - #Option "XkbModel" "pc105" <comment>## this is for international keyboards.</comment>
131 - # Option "XkbVariant" "nodeadkeys" <comment>## this would be used for xterm input</comment>
132 - ...
133 +Section "InputClass"
134 + Identifier "keyboard-all"
135 + Driver "evdev"
136 + Option "XkbLayout" "de"
137 + #Option "XkbModel" "pc105"
138 + MatchIsKeyboard "on"
139 +EndSection
140 </pre>
141
142 <p>
143 @@ -408,11 +412,13 @@
144 </p>
145
146 <pre caption="Switching between two keyboard layouts">
147 - Section "InputDevice"
148 - Identifier "Keyboard1"
149 - ...
150 - Option "XkbLayout" "us,ru"
151 - Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
152 +Section "InputClass"
153 + Identifier "keyboard-all"
154 + Driver "evdev"
155 + Option "XkbLayout" "us,ru"
156 + Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
157 + MatchIsKeyboard "on"
158 +EndSection
159 </pre>
160
161 <p>
162 @@ -448,25 +454,25 @@
163
164 <p>
165 In order to get your console to display the Euro symbol, you will need to set
166 -<c>CONSOLEFONT</c> in <path>/etc/conf.d/consolefont</path> to a file found in
167 +<c>consolefont</c> in <path>/etc/conf.d/consolefont</path> to a file found in
168 <path>/usr/share/consolefonts/</path> (without the <c>.psfu.gz</c>).
169 <c>lat9w-16</c> has the Euro symbol.
170 </p>
171
172 <pre caption="Setting the console font">
173 -CONSOLEFONT="lat9w-16"
174 +consolefont="lat9w-16"
175 </pre>
176
177 <p>
178 -You should verify that <c>CONSOLEFONT</c> is in the boot runlevel:
179 +You should verify that <c>consolefont</c> is in the boot runlevel:
180 </p>
181
182 <pre caption="Verify the proper runlevel">
183 -# <i>rc-update -v show | grep -i consolefont</i>
184 +# <i>rc-update -v show | grep consolefont</i>
185 </pre>
186
187 <p>
188 -If no runlevel is displayed for <c>CONSOLEFONT</c>, then add it to the proper level:
189 +If no runlevel is displayed for <c>consolefont</c>, then add it to the proper level:
190 </p>
191
192 <pre caption="Add consolefont to boot">