Good tool to automate mouse movement and clicking in linux

Get the software and compile it:

Install it …

make ; make install

Get the mouse position:

xdotool getmouselocation

Clicking forever there … Might be useful for …. refreshing a page …or clicking on a link


while [ 1 ]; do
xdotool mousemove XXX YYY click 1 &
sleep 5

Sit back and enjoy .... And don't use it to do bad things ( like game cheating , autoclicking , auto refresh a web page )