a lazy autoclicker for unix systems that support multiple profiles and holding!!
this is the second version of the autoclicker i made a while ago: herehere
i have only tested on arch linux, no idea about other os, but they should work!!
also i tested global keybinds on hyprland, so it varies for your wm / compositor too!!!
- multiple profiles (each with custom configuration and mode)
- working as a background process
- global keybinds (yippee)
- two modes: holding and clicking
- Head to Releases and grab the latest Release!
- Move the binary file (lazyclicker) to somewhere within your PATH
- Run
lazyclicker initfor the first time and it will create a sample configuration file (often at~/.config/lazyclicker)
as this uses toml as the configuration language, so it's super easy to configure!!
Example profiles.toml:
[[profile]]
name = "clicktest"
interval = 1000
button = "Left"
repeat = 1
mode = "Click"
[[profile]]
name = "holdtest"
button = "Left"
mode = "Hold"name: the name of the profilemode: clicking mode (can be eitherClickorHold)button: mouse button to click (can be eitherLeftorRight)interval: time between clicks (in milliseconds)repeat: numbers of repeat each click
Note
it only accepts the uppercased Left, Right, Click, and Hold
Note
interval and repeat is optional for Hold mode, and compulsory for Click mode
lazyclicker init: Initialize the sample configuration file and pathlazyclicker list: List all available profileslazyclicker start [PROFILE_NAME]: Start / Run a profilelazyclicker stop [PROFILE_NAME]: Stop a running profile
run lazyclicker start [PROFILE_NAME] --run and look for errors
Error: NotFound:
- check if
/dev/uinputexists:
ls -l /dev/uinput-> if it's missing:
sudo modprobe uinput-> make it permanent across reboots:
echo uinput | sudo tee /etc/modules-load.d/uinput.conf- fix perms
ls -l /dev/uinputcheck the permissions of user, it should be something like crw-rw-rw-
if not,
add user to the right group, or create a udev rule:
sudo groupadd input
sudo usermod -aG input $USERthen create /etc/udev/rules.d/99-input.rules:
KERNEL=="uinput", MODE="0660", GROUP="input"and reload rules:
sudo udevadm control --reload-rules
sudo udevadm trigger