Re: ALT+ IJKL for cursor movement

Chris Debenham <[email protected]>
Newsgroups gmane.comp.freedesktop.xserver
Message-ID <[email protected]>
There is a lovely program called "XKeyCaps" that allows you to re-assign 
any key to send any other key. It is basically just a graphical 
front-end to configure xmodmap.
I just played around with it and you can get it to change Alt+J to send 
'left-arror key' etc.

Try adding the following to ~/.xmodmap then run 'xmodmap ~/.xmodmap'

keycode 0x1F =  i       I       NoSymbol        Up
keycode 0x2C =  j       J       NoSymbol        Left
keycode 0x2D =  k       K       NoSymbol        Down
keycode 0x2E =  l       L       NoSymbol        Right


Chris

>On Sun, 15 Feb 2004, Ahmad Baitalmal wrote:
>
>I'm trying to make X11 fire the Left,Down,Right,Up keyboard arrow event
>when pressing the Left ALT key and JKLI keys.
>
>I'm guessing XKB could do this, it certainly looks complicated enough.
>I've been racking my head on it's manual for 3 days and I'm still lost :(
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.