Re: [ILUG] recording mouse coordinates ?

From: Donal O'Donovan (donal_od2001 at domain yahoo.co.uk)
Date: Thu 09 Aug 2001 - 11:13:58 IST


Hi,
  Thanks for your reply, but xev would only give me
mouse coordinates when that window is active and the
mouse is over it. If i set xev to monitor the root
[desktop] window then it would also stop recording
mouse coordinates when another window overlays the
desktop. I need to monitor the mouse coordinates
*everywhere* and this is why i thought of xeyes.

Donal

 --- Chris Higgins <chris.higgins at domain horizon.ie> wrote: >
> Hi,
> > I am just wondering how I can record the mouse
> > coordinates on a unix desktop to a text file. I
> have
> > tried using 'strace xeyes' for example but i can't
> > seem to find the coordinates in any of the output.
> I
> > would like to get the coordinates from xeyes, is
> there
> > any other tool apart from strace that would show
> me
> > this ? or any other tool apart form xeyes ? All i
> need
> > to do is dump the output to a text file and then i
> can
> > extract the mouse coordinates using perl or
> soemthing,
> > any help/ideas would be great. Thanks a million
>
> xev ? will track mouse location - but are you trying
> to duplicate
> the functionality of xeyes - in which case looking
> at the
> source code may help...
>
> If it's to get the size and location of the xeyes
> application,
> then you should look at xprop....
>
>
>
> >
> > Donal
> >
> >
>
____________________________________________________________
> > Do You Yahoo!?
> > Get your free at domain yahoo.co.uk address at
> http://mail.yahoo.co.uk
> > or your free at domain yahoo.ie address at
> http://mail.yahoo.ie
> >
> > --
> > Irish Linux Users' Group: ilug at domain linux.ie
> > http://www.linux.ie/mailman/listinfo/ilug for
> (un)subscription information.
> > List maintainer: listmaster at domain linux.ie
>
> --
> ** Chris Higgins e:
> chris.higgins at horizon.ie **
> ** Technical Business Development tel:
> +353-1-6204916 **
> ** Horizon Technology Group fax:
> +353-1-6204949 **
>
>

____________________________________________________________
Do You Yahoo!?
Get your free at domain yahoo.co.uk address at http://mail.yahoo.co.uk
or your free at domain yahoo.ie address at http://mail.yahoo.ie



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:31 GMT