key mapping

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Fri Nov 5 15:22:42 UTC 2010


On Thu, Nov 04, 2010 at 10:07:44PM -0400, Rajinder Yadav wrote:
> the FN special key is not getting read, however i have a workaround
> but not sure how to do the following. I want to map a key combination
> 
> [win]+pageup -> home
> [win]+pagedown -> end
> 
> i know the keycode, but how to i combine 2 keycodes and produce a
> translated keycode ?

I believe you can define the win key as a modifier (if it isn't already
in X) and then define what pageup should do when modifier win is active.

It may be that you need to get into modifying the keyboard layout to
implement such a thing though.

Look at setxkbmap and xkbcomp.

I have never tried doing what you want, but I am sure it can be done
somehow.

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list