On Wed, 15 May 2002, Robert W�rle wrote:

> How do i insert at a specific keycode that after preesing this key a 
> shell script should be started ???

I would't do it with Xmodmap.

As I understand it, the natural way of doing that in X is
to run a program which gets the keys first (think of it as having
an invisible window covering the whole screen, in front of all
other windows), processes the keys it is interested in and allows
the rest to go back to be processed by some other window.

It may be worth using some sort of X event for your special key presses,
so that you don't have to listen for and pass on key presses that don't 
interest you.

It may be that such a program already exists.

-- 
Dr. Andrew C. Aitchison         Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to