--- Gentoo Docs/guide-localization.xml.orig 2005-12-19 05:08:41.000000000 -0800 +++ Gentoo Docs/guide-localization.xml 2006-01-02 05:14:41.000000000 -0800 @@ -29,8 +29,8 @@ the German doc. Includes configuration for use of the euro currency symbol. -1.24 -2005-11-25 +1.25 +2005-1-02 Time zone @@ -216,6 +216,28 @@

+Once you have set the right locale, be sure to update your environment +variables to make your system aware of the change: +

+ +
+# env-update && source /etc/profile
+
+ +

+After this, you will need to kill your X server by pressing +Ctrl-Alt-Backspace, log out, then log in as user. +

+ +

+Now, verify that the changes have taken effect: +

+ +
+$ env | grep -i LC_
+
+ +

There is also additional localisation variable called LINGUAS, which affects to localisation files that get installed in gettext-based programs, and decides used localisation for some specific software packages, such as @@ -256,6 +278,19 @@ # export LANG="en_US.ISO-8859-15" +

+Be sure to update the environment after the change: +

+ +
+# env-update && source /etc/profile
+
+ +

+After this, you will need to kill your X server by pressing +Ctrl-Alt-Backspace, log out, then log in as user. +

+
@@ -335,10 +370,46 @@ Identifier "Keyboard1" ... Option "XkbLayout" "de" - # Option "XkbVariant" "nodeadkeys" + #Option "XkbModel" "pc105" ## this is for international keyboards. + # Option "XkbVariant" "nodeadkeys" ## this would be used for xterm input + ... + + +

+If you have an international keyboard layout, you should set the option +XkbModel to pc102 or pc105, as this will allow mapping of the +additional keys specific to your keyboard. +

+ +

+Deadkeys allow you to press keys that will not show immediately but will be +combined with another letter to produce a single character such as é,è,á,à, +etc. Setting XkbVariant to nodeadkeys allows input these special +characters into X terminals. +

+ +

+If you would like to switch between more than one keyboard layout (for example +English and Russian), all you have to do is add a few lines to +xorg.conf that specify the desired layouts and the shortcut +command. +

+ +
+ Section "InputDevice"
+     Identifier  "Keyboard1"
      ...
+     Option "XkbLayout"    "us,ru"
+     Option "XkbOptions"   "grp:alt_shift_toggle,grp_led:scroll"
 
+

+Here, XkbOptions allows you to toggle between keyboard layouts by simply +pressing Alt-Shift. This will also toggle the Scroll Lock light on or +off, thanks to the grp_led:scroll option. This is a handy visual +indicator of which keyboard layout you are using at the moment. +

+
@@ -365,7 +436,7 @@

In order to get your console to display the Euro symbol, you will need to set CONSOLEFONT in -/etc/rc.conf to a file found in +/etc/conf.d/consolefont to a file found in /usr/share/consolefonts/ (without the .psfu.gz). lat9w-16 has the Euro symbol.

@@ -374,6 +445,22 @@ CONSOLEFONT="lat9w-16" +

+You should verify that CONSOLEFONT is in the boot runlevel: +

+ +
+# rc-update show | grep -i consolefont
+
+ +

+If no runlevel is displayed for CONSOLEFONT, then add it to the proper level: +

+ +
+# rc-update add consolefont boot
+
+