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
swift       11/09/12 19:42:27

  Modified:             guide-localization.xml
  Fix bug #382525 - Updates for OpenRC on localization guide. Patch by Francisco "klondike"

Revision  Changes    Path
1.63                 xml/htdocs/doc/en/guide-localization.xml

file :
diff :

Index: guide-localization.xml
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- guide-localization.xml	4 Sep 2011 17:53:40 -0000	1.62
+++ guide-localization.xml	12 Sep 2011 19:42:27 -0000	1.63
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.62 2011/09/04 17:53:40 swift Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.63 2011/09/12 19:42:27 swift Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
@@ -25,6 +25,9 @@
 <author title="Editor">
   <mail link="nightmorph"/>
+<author title="Editor">
+  <mail link="klondike"/>
 This guide should help users localize their Gentoo Linux distribution to any
@@ -32,8 +35,8 @@
 the German doc. Includes configuration for use of the euro currency symbol.
 <title>Time zone</title>
@@ -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
 <path>/usr/share/zoneinfo</path>. You then set your timezone in
-<path>/etc/conf.d/clock</path>. Please avoid the
+<path>/etc/timezone</path>. Please avoid the
 <path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their names do not
 indicate the expected zones. For instance, <path>GMT-8</path> is in fact GMT+8.
@@ -55,8 +58,8 @@
 <comment>(First copy the proper zone to localtime)</comment>
 # <i>cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime</i>
 <comment>(Now specify your timezone)</comment>
-# <i>nano -w /etc/conf.d/clock</i>
+# <i>nano -w /etc/timezone</i>
 # <i>date</i>
 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 <path>/etc/conf.d/clock</path> and change the
-value of <c>CLOCK</c> from <c>UTC</c> to <c>local</c>.
+you will need to edit <path>/etc/conf.d/hwclock</path> (or if you use Gentoo
+BSD: <path>/etc/conf.d/adjkerntz</path>) and change the
+value of <c>clock</c> from <c>UTC</c> to <c>local</c>.
 <pre caption="local vs. GMT clock">
@@ -222,7 +226,7 @@
 Use <c>de_DE@euro</c> 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
-<path>/etc/conf.d/keymaps</path> by the <c>KEYMAP</c> variable.
+<path>/etc/conf.d/keymaps</path> by the <c>keymap</c> variable.
 Valid values can be found in
 <path>i386</path> has further subdivisions into layout
@@ -357,9 +361,9 @@
 <pre caption="Setting the console keymap">
@@ -378,13 +382,13 @@
 <pre caption="Setting the X keymap">
- Section "InputDevice"
-     Identifier  "Keyboard1"
-     ...
-     Option "XkbLayout"    "de"
-     #Option "XkbModel"     "pc105"    <comment>## this is for international keyboards.</comment>
-     # Option "XkbVariant"  "nodeadkeys" <comment>## this would be used for xterm input</comment>
-     ...
+Section "InputClass"
+	Identifier "keyboard-all"
+	Driver "evdev"
+	Option "XkbLayout" "de"
+	#Option "XkbModel" "pc105"
+	MatchIsKeyboard "on"
@@ -408,11 +412,13 @@
 <pre caption="Switching between two keyboard layouts">
- 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"
@@ -448,25 +454,25 @@
 In order to get your console to display the Euro symbol, you will need to set
-<c>CONSOLEFONT</c> in <path>/etc/conf.d/consolefont</path> to a file found in
+<c>consolefont</c> in <path>/etc/conf.d/consolefont</path> to a file found in
 <path>/usr/share/consolefonts/</path> (without the <c>.psfu.gz</c>).
 <c>lat9w-16</c> has the Euro symbol.
 <pre caption="Setting the console font">
-You should verify that <c>CONSOLEFONT</c> is in the boot runlevel:
+You should verify that <c>consolefont</c> is in the boot runlevel:
 <pre caption="Verify the proper runlevel">
-# <i>rc-update -v show | grep -i consolefont</i>
+# <i>rc-update -v show | grep consolefont</i>
-If no runlevel is displayed for <c>CONSOLEFONT</c>, then add it to the proper level:
+If no runlevel is displayed for <c>consolefont</c>, then add it to the proper level:
 <pre caption="Add consolefont to boot">