public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Kazantsev <mike_kazantsev@fraggod.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] how to switch laptop to usb keyboard
Date: Tue, 3 Mar 2009 09:24:38 +0500	[thread overview]
Message-ID: <20090303092438.7ce28751@malediction> (raw)
In-Reply-To: <20090302183141.40c59370@lappy.evolone.org>

[-- Attachment #1: Type: text/plain, Size: 890 bytes --]

On Mon, 2 Mar 2009 18:31:41 -0800
Michael Higgins <linux@evolone.org> 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*?
> 
> 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 = KP_4
  keycode 102 = KP_6
  keycode 98 = KP_8
  keycode 104 = 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.

-- 
Mike Kazantsev // fraggod.net

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2009-03-03  4:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-02 17:34 [gentoo-user] how to switch laptop to usb keyboard Michael Higgins
2009-03-02 17:42 ` Paul Hartman
2009-03-03  2:31   ` Michael Higgins
2009-03-03  4:24     ` Mike Kazantsev [this message]
2009-03-03 19:04       ` Michael Higgins
2009-03-03 23:16         ` [gentoo-user] " Miernik
2009-03-04 22:26           ` Michael Higgins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090303092438.7ce28751@malediction \
    --to=mike_kazantsev@fraggod.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox