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

Gelonida gelonida at gmail.com
Sun Aug 29 11:35:31 EDT 2010


Hi John,

> 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.
> 
> The mouse can jump it doesn't have to visibly move to the target coordinate.
> 
> 
> 
> What would you suggest to achieve this on Linux Ubuntu 10.4?
> 
> Lateron it would be intersting to acheive the same on a Windows PC
> 

On 08/29/2010 04:25 PM, John Bokma wrote:
> sudo apt-get install xautomation
> xte 'mousemove 200 200'
> 

Thanks a lot.

This solution is perfect for Linux.
Exactly what I was looking for. :-)


I guess for Windows it would be a little more complicated?


bye


G







More information about the Python-list mailing list