Index: doc/en/guide-localization.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v --- doc/en/guide-localization.xml 4 Sep 2011 17:53:40 -0000 1.62 +++ doc/en/guide-localization.xml 11 Sep 2011 23:25:05 -0000 @@ -25,6 +25,9 @@ + + + This guide should help users localize their Gentoo Linux distribution to any @@ -44,7 +47,7 @@ In order to keep time properly, you need to select your timezone so that your system knows where it is located. Look for your timezone in /usr/share/zoneinfo. You then set your timezone in -/etc/conf.d/clock. Please avoid the +/etc/timezone. Please avoid the /usr/share/zoneinfo/Etc/GMT* timezones as their names do not indicate the expected zones. For instance, GMT-8 is in fact GMT+8.

@@ -55,8 +58,8 @@ (First copy the proper zone to localtime) # cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime (Now specify your timezone) -# nano -w /etc/conf.d/clock -TIMEZONE="Europe/Brussels" +# nano -w /etc/timezone +Europe/Brussels # date Wed Mar 8 00:46:05 CET 2006 @@ -88,15 +91,16 @@ UTC (or GMT, Greenwich Mean Time) and then your timezone is taken into account to determine the actual, local time. If, for some reason, you need your hardware clock not to be in UTC, -you will need to edit /etc/conf.d/clock and change the -value of CLOCK from UTC to local. +you will need to edit /etc/conf.d/hwclock (or, if you use Gentoo +BSD /etc/conf.d/adjkerntz) and change the +value of clock from UTC to local.

 (recommended:)
-CLOCK="UTC"
+clock="UTC"
 (or:)
-CLOCK="local"
+clock="local"
 
@@ -222,7 +226,7 @@ Use de_DE@euro as your LANG if you want to use the Euro currency symbol -(€). +(€) on non UTF-8 based locales.

@@ -347,7 +351,7 @@

The keyboard layout used by the console is set in -/etc/conf.d/keymaps by the KEYMAP variable. +/etc/conf.d/keymaps by the keymap variable. Valid values can be found in /usr/share/keymaps/{arch}/. i386 has further subdivisions into layout @@ -357,9 +361,9 @@

-KEYMAP="de"
-KEYMAP="de-latin1"
-KEYMAP="de-latin1-nodeadkeys"
+keymap="de"
+keymap="de-latin1"
+keymap="de-latin1-nodeadkeys"
 
@@ -378,13 +382,13 @@

- Section "InputDevice"
-     Identifier  "Keyboard1"
-     ...
-     Option "XkbLayout"    "de"
-     #Option "XkbModel"     "pc105"    ## this is for international keyboards.
-     # Option "XkbVariant"  "nodeadkeys" ## this would be used for xterm input
-     ...
+Section "InputClass"
+	Identifier "keyboard-all"
+	Driver "evdev"
+	Option "XkbLayout" "de"
+	#Option "XkbModel" "pc105"
+	MatchIsKeyboard "on"
+EndSection
 

@@ -408,11 +412,13 @@

- Section "InputDevice"
-     Identifier  "Keyboard1"
-     ...
-     Option "XkbLayout"    "us,ru"
-     Option "XkbOptions"   "grp:alt_shift_toggle,grp_led:scroll"
+Section "InputClass"
+	Identifier "keyboard-all"
+	Driver "evdev"
+	Option "XkbLayout"    "us,ru"
+	Option "XkbOptions"   "grp:alt_shift_toggle,grp_led:scroll"
+	MatchIsKeyboard "on"
+EndSection
 

@@ -448,25 +454,25 @@

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

-CONSOLEFONT="lat9w-16"
+consolefont="lat9w-16"
 

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

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

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