Java Mailing List Archive

http://www.redhatconfig.com/

Home » Mandriva Cooker »

Re: [Cooker] How do I find what physical key corresponds to a given keycode

Pixel

2008-06-15

Replies: Find Java Web Hosting

Author LoginPost Reply
Steve Morris <samorris@(protected):

> I have issued the xmodmap -pk command to find the keycode mappings for the
> generic 105 key and the Acer Laptop keyboard drivers, and both drivers have
> keycode 106 = insert and keycode 107 = delete. On my Acer laptop the delete
> key is physically next to the insert key but according to xev the delete key
> is not keycode 107 it is 242. How do I find out what key actually is keycode
> 107?

keycode are given by the kernel to xorg.

see getkeycodes for the scancode to keycode table

>
> Also as a side issue, is it possible to assign a program to a keyboard key as
> can be done under Windows, eg: under Windows, via vendor supplied software, it
> is possible to assign IE to a keyboard key so that pressing that key launches
> IE, hence is it possible to do the same thing under Linux?

it is possible, but it depends what desktop you use (kde, gnome...)
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.