#wayland #cli #linux #autoclicker #x11-wayland

bin+lib theclicker

A simple autoclicker cli that works on (x11/wayland)

9 releases

new 0.2.1 Jan 18, 2025
0.2.0 Jan 17, 2025
0.1.8 Jan 16, 2025
0.1.7 Mar 9, 2024
0.1.2 May 30, 2023

#215 in Unix APIs

Download history 21/week @ 2024-09-29 22/week @ 2024-10-06 2/week @ 2024-10-13 11/week @ 2024-10-20 14/week @ 2024-10-27 12/week @ 2024-11-03 3/week @ 2024-11-10 10/week @ 2024-11-17 11/week @ 2024-11-24 16/week @ 2024-12-01 38/week @ 2024-12-08 16/week @ 2024-12-15 1/week @ 2024-12-22 1/week @ 2024-12-29 7/week @ 2025-01-05 258/week @ 2025-01-12

271 downloads per month

MIT license

215KB
760 lines

Simple cli autoclicker for linux

Crates.io

Working on xorg and wayland.

Is using uinput and evdev!

Running

Running

Install

cargo install theclicker

To run TheClicker

Run theclicker

Select your input device.

Then if is not a legacy interface like: /dev/input/mouse{N} or /dev/input/mice You choose the binding for left and right by pressing then confirming. I recommend hold and grab mode.

Grab mode is only tested on KDE Plasma wayland 6.2.5

You can use --help to see more!

Build

If you don't have Rust installed you can install rust from rustup

You need to have the stable toolchain installed!

Then run cargo build --release

The binary will be in ./target/release/theclicker

Problems?

If crash

Is posibile to not work on any distribution: sudo usermod -aG input $USER

OR

sudo theclicker

IF sudo theclicker RETURNS sudo: theclicker: command not found

You should edit you'r /etc/sudoers if you can find

Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"

You should commented like

#Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"

And the same thing for

Defaults env_reset

Dependencies

~3.5MB
~71K SLoC