So I wanted an autoclicker for linux - for one of my browser based games that require a lot of clicking.
Looked around and tried to find something useful, but all i could find was old pages outdated download links,..
As an extra bonus it is in the Gentoo repository so a simple
Got it installed. it also has minimal dependencies which is nice.
The good part, but also a bit of a downside is that there is no UI (maybe I'll write one when I get a chance .. just as a wrapper).
anyway to do what I wanted was simply this:
xdotool click --repeat 1000 --delay 100 1
Pretty self explainatory, but here's a short explaination anyway:
The only problem is I need to know how many clicks I need beforehand - which can also be a nice feature of course.
There is one way to stop it if you have the terminal you ran this command from visible (which i always have - and set it to always on top): click with your left mouse button - this stops the click events being registered since it is mouse-down and waits for mouse-up i guess .. but not sure if that is the reason. then move to the terminal and either close it or
ctrl+c abort the command -- or just wait for the program to exit after finishing the requested number of clicks. -- On a side note if you don't like that way of stopping it you could always just
ctrl+alt+f1 (or whatever terminal you want to use) and log in there and kill the xdotool process (either find thepid and kill it or just
killall xdotool - which will of course kill all, but i doubt you'll run more than one at once)