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 <gentoo-user+bounces-86298-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1L0PWK-0008VO-QZ
	for garchives@archives.gentoo.org; Wed, 12 Nov 2008 23:53:13 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0F3D7E04E7;
	Wed, 12 Nov 2008 23:53:13 +0000 (UTC)
Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187])
	by pigeon.gentoo.org (Postfix) with ESMTP id C8045E04E7
	for <gentoo-user@lists.gentoo.org>; Wed, 12 Nov 2008 23:53:12 +0000 (UTC)
Received: by nf-out-0910.google.com with SMTP id c7so399460nfi.26
        for <gentoo-user@lists.gentoo.org>; Wed, 12 Nov 2008 15:53:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to
         :subject:in-reply-to:mime-version:content-type
         :content-transfer-encoding:content-disposition:references;
        bh=uAoNZWwpsiu5TdUGupZEfI1+D+1BMUKKPtkqedC8nMw=;
        b=SmiKYw7PFbOon+D0VDs9rR3T75Qq3/mAADWsgl8ochrKHnSznuDTDokiEqbiAnmpVf
         OGh9LhuuFfqhVYvj2WTJK4QxPQidDme+Kj4wn70ykCsWHkJ+3XxazXPe9zCZokbHGuH/
         utVQx5BWq0zcjvZWQaOQ5aLzPWhO5GuQq/N8U=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:in-reply-to:mime-version
         :content-type:content-transfer-encoding:content-disposition
         :references;
        b=fngENJoLL2PcqsUC7CSuC0AbFNbsL/m7hcPQ+iq+XbRz8CgCjG7rEKI5Aw87J5dmwd
         ZZKYM0xXjjN+hx0pn/vlc0e/t9sg2HUmEATYogojL3CBavTewzmlQeHEWQC2jBfr0xSn
         Q7WP8PLivQ3HPMmv3MJW6lPXjigfKuoVYBWQ0=
Received: by 10.103.227.10 with SMTP id e10mr5610320mur.30.1226533990562;
        Wed, 12 Nov 2008 15:53:10 -0800 (PST)
Received: by 10.103.239.11 with HTTP; Wed, 12 Nov 2008 15:53:10 -0800 (PST)
Message-ID: <e38d12ff0811121553m303dcc13k2495b2ed94bfe9b8@mail.gmail.com>
Date: Wed, 12 Nov 2008 18:53:10 -0500
From: "Andrey Vul" <andrey.vul@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] rerouting buttons in X
In-Reply-To: <350fc7cf0811121324vfe9b3a1u3ca017a2d8cdcd30@mail.gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <e38d12ff0811111003h44dada92qf1cef31b80bd91e4@mail.gmail.com>
	 <350fc7cf0811121324vfe9b3a1u3ca017a2d8cdcd30@mail.gmail.com>
X-Archives-Salt: 0a57e5dd-488b-4735-ac90-491b87ac7249
X-Archives-Hash: 57badfa844a18a2022273089d0f972cd

Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?




On Wed, Nov 12, 2008 at 16:24, Andrey Falko <ma3oxuct@gmail.com> wrote:
> On Tue, Nov 11, 2008 at 10:03 AM, Andrey Vul <andrey.vul@gmail.com> wrote:
>>
>> My laptop (ASUS M50VM-B2) has no dedicated Home, End, PageUp, and
>> PageDown buttons.
>> Is there a way to force it if numlock is disabled then map the keys
>> from numpad 7,1,9,3 to Home,End,PageUp,PageDown?
>>
>> Basically, how do I reroute the numpad?
>>
>
> I'm not sure, but as far as I know, you want to dig around here:
> /usr/share/X11/xkb. There are tools that let you make mods to your layout,
> like xmodmap.
>

Yeah, I forgot about xmodmap :|
Digging around the manpages helped.
Now I have a .Xmodmap with the following:

keysym KP_Prior = Prior
keysym KP_Next = Next
keysym KP_Insert = Insert
keysym KP_Delete = Delete
keysym KP_Home = Home
keysym KP_End = End
keysym KP_Up = Up
keysym KP_Down = Down
keysym KP_Left = Left
keysym KP_Right = Right
keysym KP_Begin = Begin

Problem solved!