At Sat, 8 Nov 2008 03:05:05 +0300
Sergey Dolgov <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I was wondering how hard would it be to implement a sort of on-screen
> keyboard in Lua using awesome's wibox with widgets for individual
> keys.
>
> I think that it requires to be able to send artificial keypress events
> from Lua code to clients. Is it currently possible in awesome?
>
> --
> Sergey
>
You could use the XTest extenstion and XTE to send artifical keypresses to the
X server, though not to specific clients. It works like this:
echo key a | xte
which would send the press and release of the 'a' key to your X server.
Gregor Best
--
To unsubscribe, send mail to [EMAIL PROTECTED]