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

bin+lib theclicker

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

6 releases

0.1.7 Mar 9, 2024
0.1.6 Oct 29, 2023
0.1.4 Sep 14, 2023
0.1.2 May 30, 2023

#432 in Unix APIs

Download history 17/week @ 2024-08-26 10/week @ 2024-09-09 11/week @ 2024-09-16 24/week @ 2024-09-23 24/week @ 2024-09-30 19/week @ 2024-10-07 12/week @ 2024-10-21 16/week @ 2024-10-28 10/week @ 2024-11-04 2/week @ 2024-11-11 13/week @ 2024-11-18 10/week @ 2024-11-25 16/week @ 2024-12-02 46/week @ 2024-12-09

85 downloads per month

MIT license

72KB
625 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 mouse or keyboard.

On mouse back or forword to activate left or right clicker! On keyboard [ or ] to activate left or right clicker!

You can use -f to find what keycode you are pressing! You can use -l or -r to set on what keycode the clicker will activate!

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

~4MB
~88K SLoC