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 1KK8fx-0005ug-NK for garchives@archives.gentoo.org; Sat, 19 Jul 2008 09:24:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A0DCE0400; Sat, 19 Jul 2008 09:24:24 +0000 (UTC) Received: from mail.muc.de (colin.muc.de [193.149.48.1]) by pigeon.gentoo.org (Postfix) with ESMTP id D988EE0400 for ; Sat, 19 Jul 2008 09:24:23 +0000 (UTC) Received: (qmail 40348 invoked by uid 3782); 19 Jul 2008 09:24:23 -0000 Received: from acm.muc.de (pD9E506AE.dip.t-dialin.net [217.229.6.174]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sat, 19 Jul 2008 11:24:21 +0200 Received: (qmail 3271 invoked by uid 1000); 19 Jul 2008 09:23:43 -0000 Date: Sat, 19 Jul 2008 09:23:43 +0000 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Installation: help me set up my keyboard, please. Message-ID: <20080719092343.GA2968@muc.de> References: <20080718205842.GA2228@muc.de> <20080718213930.GB4601@marvin.heimnetz.local> 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: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20080718213930.GB4601@marvin.heimnetz.local> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e618f785-df91-4c0c-9882-3f88a2464c1c X-Archives-Hash: 88fc6beb4b2fadde0f4546ceeff995e3 Hi, Sebastian! On Fri, Jul 18, 2008 at 11:39:32PM +0200, Sebastian G=FCnther wrote: > * Alan Mackenzie (acm@muc.de) [18.07.08 23:00]: [ .... ] > > 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". > Maybe you have just what the Germans call "Ein Brett vorm Kopf" Hah! That reminds me of a Monty Python sketch involving monks. :-) > > #####################################################################= #### > > # Use KEYMAP to specify the default console keymap. There is a compl= ete tree > > # of keymaps in /usr/share/keymaps to choose from. > > KEYMAP=3D"uk" > > #####################################################################= #### > > This is aggravatingly vague. I cannot find anything to tell me _HOW_= to > > "Use KEYMAP to specify ...". Somehow, my current setting of "uk" see= ms > > to find and load an appropriate keymap, perhaps > > /usr/share/keymaps/i386/qwerty/uk.map.gz. > KEYMAP is just a env var which holds the arguments for loadkeys. And fo= r=20 > sure it finds this keymap. And this is by far not vague. See below. > > 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? > > I've delved into /etc/init.d/keymaps (a "runscript" shell), but it > > appears merely to use ${KEYMAP}. I cannot see how this script manage= s to > > find a filename out of "uk". Presumably the interpreter /sbin/runscr= ipt > > runs the find command, somehow. But I can't find any documentation f= or > > runscript. > Keymaps are loaded with loadkeys. man loadkeys gives the glory details. > (there is also a hint how to set this as kernel keymap ;-)) Ah, loadkeys, my old friend! I confess I'd not looked at man loadkeys for around 5 years. It's changed. > It searches in /usr/share/keymaps for the string. Ah! I've not seen this in *nix before, giving a filename fragment and having the system DWIM. I'm not sure I like it. > As you may have noticed all keymaps differ before the .map.gz. So it > should go smoothly, if you put your keymap in any folder, an appropiate > 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 Yes, it works. I should have just tried it. =20 > > How do I set my keyboard layout? > loadkeys Thanks! It now works. > Sebastian --=20 Alan Mackenzie (Nuremberg, Germany). --=20 gentoo-user@lists.gentoo.org mailing list