Archives / Snippets / Projets

Note there is a minimum time of 4 ms between clicks for them to count. Anything faster is dropped as a low-grade auto-click. On Linux, it is possible to remap the left and middle mouse button to scroll wheel up (button 4) and scroll wheel down (button 5). The command goes into a terminal:

xmodmap -e "pointer = 4 5 3 1 2"

Now "rubbing" the big cookie with the scroll wheel, generates a lot of clicks in rapid succession. Executing

xmodmap -e "pointer = default"

will restore default mouse behaviour.

Clics en boucle

while :; do xdotool click 1; sleep 0.02; done