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 1LeMBc-0007Wy-3W for garchives@archives.gentoo.org; Tue, 03 Mar 2009 04:24:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3147CE010D; Tue, 3 Mar 2009 04:24:54 +0000 (UTC) Received: from mail.fraggod.net (unknown [91.191.238.58]) by pigeon.gentoo.org (Postfix) with ESMTP id BC03BE010D for ; Tue, 3 Mar 2009 04:24:53 +0000 (UTC) Received: from malediction (wall.mplik.ru [195.58.1.141]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.fraggod.net (Postfix) with ESMTPSA id BC973100060 for ; Tue, 3 Mar 2009 09:24:47 +0500 (YEKT) Date: Tue, 3 Mar 2009 09:24:38 +0500 From: Mike Kazantsev To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] how to switch laptop to usb keyboard Message-ID: <20090303092438.7ce28751@malediction> In-Reply-To: <20090302183141.40c59370@lappy.evolone.org> References: <20090302093452.65147118@lappy.evolone.org> <58965d8a0903020942s3e21bd90n4d88be181ebaea4e@mail.gmail.com> <20090302183141.40c59370@lappy.evolone.org> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; i686-pc-linux-gnu) 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; boundary="Sig_/OqpY0yUazJtUk7D2iX4ABHc"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: 1f618ee4-e120-496d-9b1d-957fa66b91c0 X-Archives-Hash: 93a13e344326a198b8222cf5890e9898 --Sig_/OqpY0yUazJtUk7D2iX4ABHc Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 2 Mar 2009 18:31:41 -0800 Michael Higgins wrote: > Still no luck here, as this is new to me. Really, I'm lost on the > process... figured it would just work, which it does, except that I > don't have number keys... on either keyboard. So, why is *that*? >=20 > What should I be trying to do next? If xev (x11-apps/xev) shows generated events and a keycodes when you press these keys (on either KB), you can bind them for any purpose you wish (including KP_*) via xmodmap (x11-apps/xmodmap). Just hack together an ~/.xmodmaprc file, looking like this: keycode 100 =3D KP_4 keycode 102 =3D KP_6 keycode 98 =3D KP_8 keycode 104 =3D KP_2 ... and add 'xmodmap ~/.xmodmaprc' line to some X/WM init script. Note that the keycodes probably won't be the same for you, but you can get them from xev output. --=20 Mike Kazantsev // fraggod.net --Sig_/OqpY0yUazJtUk7D2iX4ABHc Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (GNU/Linux) iEYEARECAAYFAkmssQwACgkQASbOZpzyXnFHZwCgl+RFhJhnpnlR5iPEXKOJ87mk 0toAoLDfRNa08UpdP6xrMXjeA3LqB6IG =CPvB -----END PGP SIGNATURE----- --Sig_/OqpY0yUazJtUk7D2iX4ABHc--