Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Mimicking UNIX Eyes

by bv (Friar)
on Dec 17, 2009 at 14:41 UTC ( #813189=note: print w/replies, xml ) Need Help??


in reply to Mimicking UNIX Eyes

The application you used is xeyes. You can get the source code for the ubuntu package from http://archive.ubuntu.com/ubuntu/pool/main/x/xeyes/xeyes_1.0.1.orig.tar.gz, which might give you a clue as to some of the mechanics involved.


@_=qw; Just another Perl hacker,; ;$_=q=print "@_"= and eval;

Replies are listed 'Best First'.
Re^2: Mimicking UNIX Eyes
by gmargo (Hermit) on Dec 17, 2009 at 23:35 UTC

    That is an excellent idea, so I did just that. The source is included in the x11-apps package. I got the 8.04/hardy source http://packages.ubuntu.com/hardy/x11-apps.

    My crude analysis is that xeyes polls the mouse position. It polls frequently when there is mouse activity but then backs off on the polling interval when there is no activity. There is no hook into a mouse handler.

Re^2: Mimicking UNIX Eyes
by merrymonk (Hermit) on Dec 17, 2009 at 15:33 UTC
    Thanks to everyone. I will pursue this further.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://813189]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2019-12-14 12:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?