controlling the mouse pointer on linux (or as vnc client)

John Bokma john at castleamber.com
Sun Aug 29 16:25:36 CEST 2010


Gelonida <gelonida at gmail.com> writes:

> Hi,
>
>>From a python script I'd like to be able to move the mouse to certain
> absolute coordinates on the screen.
>
>
> There's no problems calling an external program with subprocess.popen,
> as I do not want to perform many movements.

xte?

sudo apt-get install xautomation
xte 'mousemove 200 200'

see: http://linux.die.net/man/1/xte

-- 
John Bokma                                                               j3b

Blog: http://johnbokma.com/    Facebook: http://www.facebook.com/j.j.j.bokma
    Freelance Perl & Python Development: http://castleamber.com/



More information about the Python-list mailing list