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

(-)guide-localization.xml.orig (-2 / +57 lines)
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 && source /etc/profile</i>
225
</pre>
226
227
<p>
228
Now, verify that the changes have taken effect:
229
</p>
230
231
<pre caption="Verify env changes">
232
$ <i>env | grep -i LC_</i>
233
</pre>
234
235
<p>
219
There is also additional localisation variable called LINGUAS, which affects
236
There is also additional localisation variable called LINGUAS, which affects
220
to localisation files that get installed in gettext-based programs, and decides
237
to localisation files that get installed in gettext-based programs, and decides
221
used localisation for some specific software packages, such as 
238
used localisation for some specific software packages, such as 
Lines 256-261 Link Here
256
# <i>export LANG="en_US.ISO-8859-15"</i>
273
# <i>export LANG="en_US.ISO-8859-15"</i>
257
</pre>
274
</pre>
258
275
276
<p>
277
Be sure to update the environment after the change:
278
</p>
279
280
<pre caption="Update the environment">
281
# <i>env-update && source /etc/profile</i>
282
</pre>
283
259
</body>
284
</body>
260
</section>
285
</section>
261
<section>
286
<section>
Lines 335-344 Link Here
335
     Identifier  "Keyboard1"
360
     Identifier  "Keyboard1"
336
     ...
361
     ...
337
     Option "XkbLayout"    "de"
362
     Option "XkbLayout"    "de"
338
     # Option "XkbVariant"  "nodeadkeys"
363
     #Option "XkbModel"     "pc105"    <comment>## this is for international keyboards.</comment>
364
     # Option "XkbVariant"  "nodeadkeys" <comment>## this would be used for xterm input
339
     ...
365
     ...
340
</pre>
366
</pre>
341
367
368
<p>
369
If you have an international keyboard layout, you should set the option
370
<c>XkbModel</c> to <c>pc102</c> or <c>pc105</c>, as this will allow mapping of the
371
additional keys specific to your keyboard.
372
</p>
373
374
<p>
375
Deadkeys allow you to press keys that will not show immediately but will be
376
combined with another letter to produce a single character such as é,è,á,à,
377
etc. Setting <c>XkbVariant</c> to <c>nodeadkeys</c> allows input these special
378
characters into X terminals.
379
</p>
380
342
</body>
381
</body>
343
</section>
382
</section>
344
</chapter>
383
</chapter>
Lines 365-371 Link Here
365
<p>
404
<p>
366
In order to get your console to display the Euro symbol, you
405
In order to get your console to display the Euro symbol, you
367
will need to set <c>CONSOLEFONT</c> in
406
will need to set <c>CONSOLEFONT</c> in
368
<path>/etc/rc.conf</path> to a file found in
407
<path>/etc/conf.d/consolefont</path> to a file found in
369
<path>/usr/share/consolefonts/</path> (without the
408
<path>/usr/share/consolefonts/</path> (without the
370
<c>.psfu.gz</c>).  <c>lat9w-16</c> has the Euro symbol.
409
<c>.psfu.gz</c>).  <c>lat9w-16</c> has the Euro symbol.
371
</p>
410
</p>
Lines 374-379 Link Here
374
CONSOLEFONT="lat9w-16"
413
CONSOLEFONT="lat9w-16"
375
</pre>
414
</pre>
376
415
416
<p>
417
You should verify that <c>CONSOLEFONT</c> is in the boot runlevel:
418
</p>
419
420
<pre caption="Verify the proper runlevel">
421
# <i>rc-update show | grep -i consolefont</i>
422
</pre>
423
424
<p>
425
If no runlevel is displayed for <c>CONSOLEFONT</c>, then add it to the proper level:
426
</p>
427
428
<pre caption="Add consolefont to boot">
429
# <i>rc-update add consolefont boot</i>
430
</pre>
431
377
</body>
432
</body>
378
</section>
433
</section>
379
</chapter>
434
</chapter>

Return to bug 113885