public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] rerouting buttons in X
@ 2008-11-11 18:03 Andrey Vul
  2008-11-12 21:24 ` Andrey Falko
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Vul @ 2008-11-11 18:03 UTC (permalink / raw
  To: gentoo-user

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?

In kernel mode (virtual console), the buttons work normally.

--
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?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] rerouting buttons in X
  2008-11-11 18:03 [gentoo-user] rerouting buttons in X Andrey Vul
@ 2008-11-12 21:24 ` Andrey Falko
  2008-11-12 23:53   ` Andrey Vul
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Falko @ 2008-11-12 21:24 UTC (permalink / raw
  To: gentoo-user

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

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.

[-- Attachment #2: Type: text/html, Size: 760 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] rerouting buttons in X
  2008-11-12 21:24 ` Andrey Falko
@ 2008-11-12 23:53   ` Andrey Vul
  0 siblings, 0 replies; 3+ messages in thread
From: Andrey Vul @ 2008-11-12 23:53 UTC (permalink / raw
  To: gentoo-user

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!



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-12 23:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-11 18:03 [gentoo-user] rerouting buttons in X Andrey Vul
2008-11-12 21:24 ` Andrey Falko
2008-11-12 23:53   ` Andrey Vul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox