D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Injecting KB and Mouse events

 

Robin Cornelius wrote:
> 
> Anybody know how i can inject keyboard and mouse events directly into
> the (active) Xserver/display. So what ever window has current focus will
> receive the events as if i had pressed the keyboard/moved the mouse myself.

Xlib ?

> Had a bit of a search but could not find any tools that would do this
> but i am sure there are some.

The Windows Manager may have a feature of use here i.e. DCOP/DBUS/Bonobo

xautomation, and "regression testing" software for X Windows
applications might be good as well.

What are you trying to achieve? i.e. Do you really want raw events (ala
Xlib) or do you want to drive a GUI from the command line, and if so in
what Window manager, which GUI etc.


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html