Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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, 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

    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?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2020-02-25 22:27 GMT
Find Nodes?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?

    Results (113 votes). Check out past polls.