Clicker is a simple auto-clicker program that simulates mouse clicks on Linux using the X11 library.
-
Clone the repository:
git clone https://github.com/carlooosdev/clicker.git
-
Compile the code using gcc:
gcc -o clicker clicker.c `pkg-config --cflags --libs gtk+-3.0` -lX11 -lXtst
-
Run the executable:
./clicker
-
The Clicker window will appear with a toggle button labeled "Auto Clicker" and a secondary menu option named "Set Click Interval".
-
Click on the "Auto Clicker" toggle button to enable or disable the auto-clicking feature.
-
Right-click on the toggle button to open the context menu and select "Set Click Interval" to configure the time interval between each mouse click.
-
In the "Set Click Interval" dialog, enter the desired interval in milliseconds and click "Ok" to save the changes or "Cancel" to discard them.
-
The auto-clicker will start clicking at the specified interval whenever the toggle button is enabled.
-
To stop the auto-clicking, simply disable the toggle button.
- The default click interval is set to 1000 milliseconds (1 second). You can change this interval using the "Set Click Interval" option in the context menu.
- The auto-clicker only simulates left mouse button clicks.
- The auto-clicker works by interacting with the underlying X11 system, so it may not have the same behavior across different Linux distributions or desktop environments.