[linux-elitists] fake X button event

Jason Spence jspence@lightconsulting.com
Thu Nov 14 03:50:56 PST 2002


On Wed, Nov 13, 2002 at 06:23:53PM -0800, Don Marti wrote: 
> I've been playing with xwit
>   http://www.ensta.fr/internet/unix/misc/xwit.html
> (or apt-get install xwit)
> 
> and having fun writing scripts to move windows around and warp the
> X pointer.
> 
> Now I need a simple command-line utility to generate an
> XTestFakeButtonEvent so I can xwit the pointer around and "click"
> things.  Is there such a thing?  (Xbut is close:
> http://www.sandklef.com//software/xbut/)

See my pingx program on freshmeat for some template code you can use
to call XSendEvent.  I'll even do it for you if you'll buy me dinner :)

-- 
 - Jason                              Currently at: Home (Fremont, CA) (Fair )

Get forgiveness now -- tomorrow you may no longer feel guilty.



More information about the linux-elitists mailing list