From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1EtQ91-0006zj-15 for garchives@archives.gentoo.org; Mon, 02 Jan 2006 13:54:39 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k02DqxCx015610; Mon, 2 Jan 2006 13:52:59 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k02Dqvem029488 for ; Mon, 2 Jan 2006 13:52:58 GMT Message-Id: <200601021352.k02Dqvem029488@robin.gentoo.org> Received: from lark.gentoo.osuosl.org ([140.211.166.177] helo=lark.gentoo.org) by smtp.gentoo.org with smtp (Exim 4.54) id 1EtPv8-0005mT-T1 for gentoo-doc-cvs@lists.gentoo.org; Mon, 02 Jan 2006 13:40:19 +0000 Received: by lark.gentoo.org (sSMTP sendmail emulation); Mon, 2 Jan 2006 13:40:18 +0000 From: "Lukasz Damentko" Date: Mon, 2 Jan 2006 13:40:18 +0000 To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] cvs commit: guide-localization.xml Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc-cvs@gentoo.org Reply-to: docs-team@lists.gentoo.org X-Archives-Salt: a27523d7-af64-4e2c-abd0-176594a7217c X-Archives-Hash: b4b8eb45004c0d763752cfff49ae6cf9 rane 06/01/02 13:40:18 Modified: xml/htdocs/doc/en guide-localization.xml Log: adding information about using multiple keyboard layouts (#48820), information about deadkeys, environment updates, international keyboards (#113885) and fixing configuration file for consolefont location to conf.d/consolefont along with init.d/consolefont usage explanation Revision Changes Path 1.35 +92 -5 xml/htdocs/doc/en/guide-localization.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/guide-localization.xml?rev=1.35&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/guide-localization.xml?rev=1.35&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/guide-localization.xml.diff?r1=1.34&r2=1.35&cvsroot=gentoo Index: guide-localization.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- guide-localization.xml 25 Nov 2005 20:43:33 -0000 1.34 +++ guide-localization.xml 2 Jan 2006 13:40:18 -0000 1.35 @@ -1,5 +1,5 @@ - + @@ -29,8 +29,8 @@ the German doc. Includes configuration for use of the euro currency symbol. -1.24 -2005-11-25 +1.25 +2006-01-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
+
+ -- gentoo-doc-cvs@gentoo.org mailing list