From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KJxfr-0001OG-Tv for garchives@archives.gentoo.org; Fri, 18 Jul 2008 21:39:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1BDCE0516; Fri, 18 Jul 2008 21:39:33 +0000 (UTC) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9E8CCE0516 for ; Fri, 18 Jul 2008 21:39:33 +0000 (UTC) Received: from localhost ([92.50.86.118]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis) id 0ML25U-1KJxfo3LlO-0000wb; Fri, 18 Jul 2008 23:39:33 +0200 Date: Fri, 18 Jul 2008 23:39:32 +0200 From: Sebastian =?iso-8859-1?Q?G=FCnther?= To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Installation: help me set up my keyboard, please. Message-ID: <20080718213930.GB4601@marvin.heimnetz.local> References: <20080718205842.GA2228@muc.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="O5XBE6gyVG5Rl6Rj" Content-Disposition: inline In-Reply-To: <20080718205842.GA2228@muc.de> User-Agent: Mutt/1.5.16 (2007-06-09) X-Provags-ID: V01U2FsdGVkX1/WOx4WuCs4sVFXgxa853bqTl8ds/KQROvWliu jPo0zE/9Am6ijhIi2GOomgcfxMcmUI4Qi6onk/Vc/PPSDmtjSh n2ra7CqUAk4Zy0dUvqpjQ== X-Archives-Salt: fd2f3697-4623-4251-897e-dd476544541c X-Archives-Hash: fc3abb7c27dd042a1453f1207da46db0 --O5XBE6gyVG5Rl6Rj Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Alan Mackenzie (acm@muc.de) [18.07.08 23:00]: > Hi, Gentoo, >=20 Hi, > I'm having a great time installing Gentoo, and everything's going > swimmingly, including having compiled a kernel, got networking working, I > can use a USB stick, ..... >=20 fine, > Except I've hit a brick wall. I want to set up my console keyboard, so I > go to edit /etc/conf.d/keymaps, as described in the "x86 Handbook". >=20 Maybe you have just what the Germans call "Ein Brett vorm Kopf" > That file says, after a temporary previous edit: >=20 > ######################################################################### > # Use KEYMAP to specify the default console keymap. There is a complete = tree > # of keymaps in /usr/share/keymaps to choose from. >=20 > KEYMAP=3D"uk" > ######################################################################### >=20 > This is aggravatingly vague. I cannot find anything to tell me _HOW_ to > "Use KEYMAP to specify ...". Somehow, my current setting of "uk" seems > to find and load an appropriate keymap, perhaps > /usr/share/keymaps/i386/qwerty/uk.map.gz. >=20 KEYMAP is just a env var which holds the arguments for loadkeys. And for=20 sure it finds this keymap. And this is by far not vague. See below. If you need uk keyboard layout: your done :-) > So the question is how do I get the system to load up my own special > keymap, currently called boottime.keymap.gz on my Debian system? Where > must I write this file so that it gets loaded? Where do I find the > documentation telling where to write this file? >=20 > I've delved into /etc/init.d/keymaps (a "runscript" shell), but it > appears merely to use ${KEYMAP}. I cannot see how this script manages to > find a filename out of "uk". Presumably the interpreter /sbin/runscript > runs the find command, somehow. But I can't find any documentation for > runscript. >=20 Keymaps are loaded with loadkeys. man loadkeys gives the glory details. (there is also a hint how to set this as kernel keymap ;-)) It searches in /usr/share/keymaps for the string. As you may have noticed all keymaps differ before the .map.gz. So it=20 should go smoothly, if you put your keymap in any folder, an appropiate=20 for sanity, and rename it to something unique, a la my-own-nifty.map.gz.=20 Test it with=20 # loadkeys my-own-nifty=20 > So I'm stymied. It's a real jar after so much of the installation has > gone so smoothly, with otherwise excellent documentation, well above > average for a Linux distro. >=20 > How do I set my keyboard layout? >=20 loadkeys > Thanks in advance for the help! >=20 HTH Sebastian --=20 " Religion ist das Opium des Volkes. " Karl Marx SEB@STI@N G=DCNTHER mailto:samson@guenther-roetgen.de --O5XBE6gyVG5Rl6Rj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkiBDZIACgkQ4zavaU1MGbSKCACdHTI7WoAWQ6eUXAVFPZxK1mBR 9DgAn24Kn2ameiahmjWH4u0MUPzDuNgf =JiYL -----END PGP SIGNATURE----- --O5XBE6gyVG5Rl6Rj-- -- gentoo-user@lists.gentoo.org mailing list