key mapping

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Thu Nov 4 14:37:55 UTC 2010


On Thu, Nov 04, 2010 at 02:20:02AM -0400, Rajinder Yadav wrote:
> That's exactly what I had to do, in my previous reply I posted a link on  
> a howto I found. It works both on Xubuntu and Kubuntu, I don't know why  
> the Ubuntu installer seems to map the right ALT key to something stupid?
>
> I bought a bluetooth keyboard, it has a FN key that I want to map to  
> something else, and move the FN key to the otherside. However when I run  
> xev and press the key nothing is being detected.
>
> The keyboard I am using with my laptop running Xubuntu in VMware over Win7.
>
> Is there any other raw way to read key press and do key mapping?

Look at dumpkeys, loadkeys, showkey, getkeycodes, and setkeycodes.

Most likely the kernel doesn't generate a keycode for that key.  Of course
it could also be a hardcoded feature of the keyboard and hence not even
accessible to software as a normal key.

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