Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 113885 | Differences between
and this patch

Collapse All | Expand All

(-)Gentoo Docs/guide-localization.xml.orig (-4 / +69 lines)
Lines 29-36 Link Here
29
the German doc. Includes configuration for use of the euro currency symbol.
29
the German doc. Includes configuration for use of the euro currency symbol.
30
</abstract>
30
</abstract>
31
31
32
<version>1.24</version>
32
<version>1.25</version>
33
<date>2005-11-25</date>
33
<date>2005-1-02</date>
34
34
35
<chapter>
35
<chapter>
36
<title>Time zone</title>
36
<title>Time zone</title>
Lines 216-221 Link Here
216
</p>
216
</p>
217
217
218
<p>
218
<p>
219
Once you have set the right locale, be sure to update your environment
220
variables to make your system aware of the change:
221
</p>
222
223
<pre caption="Update the environment">
224
# <i>env-update &amp;&amp; source /etc/profile</i>
225
</pre>
226
227
<p>
228
After this, you will need to kill your X server by pressing
229
<c>Ctrl-Alt-Backspace</c>, log out, then log in as user.
230
</p>
231
232
<p>
233
Now, verify that the changes have taken effect:
234
</p>
235
236
<pre caption="Verify env changes">
237
$ <i>env | grep -i LC_</i>
238
</pre>
239
240
<p>
219
There is also additional localisation variable called LINGUAS, which affects
241
There is also additional localisation variable called LINGUAS, which affects
220
to localisation files that get installed in gettext-based programs, and decides
242
to localisation files that get installed in gettext-based programs, and decides
221
used localisation for some specific software packages, such as 
243
used localisation for some specific software packages, such as 
Lines 256-261 Link Here
256
# <i>export LANG="en_US.ISO-8859-15"</i>
278
# <i>export LANG="en_US.ISO-8859-15"</i>
257
</pre>
279
</pre>
258
280
281
<p>
282
Be sure to update the environment after the change:
283
</p>
284
285
<pre caption="Update the environment">
286
# <i>env-update &amp;&amp; source /etc/profile</i>
287
</pre>
288
289
<p>
290
After this, you will need to kill your X server by pressing
291
<c>Ctrl-Alt-Backspace</c>, log out, then log in as user.
292
</p>
293
259
</body>
294
</body>
260
</section>
295
</section>
261
<section>
296
<section>
Lines 335-344 Link Here
335
     Identifier  "Keyboard1"
370
     Identifier  "Keyboard1"
336
     ...
371
     ...
337
     Option "XkbLayout"    "de"
372
     Option "XkbLayout"    "de"
338
     # Option "XkbVariant"  "nodeadkeys"
373
     #Option "XkbModel"     "pc105"    <comment>## this is for international keyboards.</comment>
374
     # Option "XkbVariant"  "nodeadkeys" <comment>## this would be used for xterm input</comment>
339
     ...
375
     ...
340
</pre>
376
</pre>
341
377
378
<p>
379
If you have an international keyboard layout, you should set the option
380
<c>XkbModel</c> to <c>pc102</c> or <c>pc105</c>, as this will allow mapping of the
381
additional keys specific to your keyboard.
382
</p>
383
384
<p>
385
Deadkeys allow you to press keys that will not show immediately but will be
386
combined with another letter to produce a single character such as é,è,á,à,
387
etc. Setting <c>XkbVariant</c> to <c>nodeadkeys</c> allows input these special
388
characters into X terminals.
389
</p>
390
342
</body>
391
</body>
343
</section>
392
</section>
344
</chapter>
393
</chapter>
Lines 365-371 Link Here
365
<p>
414
<p>
366
In order to get your console to display the Euro symbol, you
415
In order to get your console to display the Euro symbol, you
367
will need to set <c>CONSOLEFONT</c> in
416
will need to set <c>CONSOLEFONT</c> in
368
<path>/etc/rc.conf</path> to a file found in
417
<path>/etc/conf.d/consolefont</path> to a file found in
369
<path>/usr/share/consolefonts/</path> (without the
418
<path>/usr/share/consolefonts/</path> (without the
370
<c>.psfu.gz</c>).  <c>lat9w-16</c> has the Euro symbol.
419
<c>.psfu.gz</c>).  <c>lat9w-16</c> has the Euro symbol.
371
</p>
420
</p>
Lines 374-379 Link Here
374
CONSOLEFONT="lat9w-16"
423
CONSOLEFONT="lat9w-16"
375
</pre>
424
</pre>
376
425
426
<p>
427
You should verify that <c>CONSOLEFONT</c> is in the boot runlevel:
428
</p>
429
430
<pre caption="Verify the proper runlevel">
431
# <i>rc-update show | grep -i consolefont</i>
432
</pre>
433
434
<p>
435
If no runlevel is displayed for <c>CONSOLEFONT</c>, then add it to the proper level:
436
</p>
437
438
<pre caption="Add consolefont to boot">
439
# <i>rc-update add consolefont boot</i>
440
</pre>
441
377
</body>
442
</body>
378
</section>
443
</section>
379
</chapter>
444
</chapter>

Return to bug 113885