in reply to Re: Sending keystrokes (linux) ?!?
in thread Sending keystrokes (linux) ?!?

Hey that's the point, I want my wm to intercept the keystrokes :)
I use XGL/Compiz and it's the combination of keys to switch between the faces of the cube.

In fact, I have an IBM T42 laptop with HDAPS, a perlscript allow to record knock and then can be set in listen mode.
(see: http://www-128.ibm.com/developerworks/linux/library/l-knockage.html )

The listen mode allow to execute command -> I would like to write a perl script as command (ie. "sendkey.pl left" would rotate my cube left).

Well I'll try what you said but I doubt that it's working with any wm...

Thanks both for your fast replies :)

Replies are listed 'Best First'.
Re^3: Sending keystrokes (linux) ?!?
by behd (Initiate) on Aug 10, 2006 at 07:55 UTC
    Hehe thanks for X11::Protocol, I didn't use it (was kinda low level, for the stupid thing that I wanted to do) but it pointed me to: X11::GUITest

    which have a ready made SendKeys :p