A simple GUI autoclicker application that allows you to record and playback mouse clicks with global keyboard shortcuts.
- Record mouse clicks with exact timing
- Playback recorded clicks with precise timing
- Global keyboard shortcuts (works even when window is not focused)
- Configurable playback interval in seconds
- System tray application with always-on-top window
- Cross-platform support (Windows/Linux)
- Python 3.10 or higher
- python3-tk 3.10.6-7
- X11 display server (Wayland is not supported)
- Clone or download this repository
- Make the install script executable:
chmod +x install.sh- Run the installation script with sudo:
sudo ./install.shThis will:
- Install required dependencies
- Build the application
- Install it system-wide
- Create a desktop menu entry
After installation, you can:
- Launch AutoClicker from your applications menu
- Run it from terminal with command
autoclicker
If you prefer to install dependencies manually:
- Install required system packages:
sudo apt-get update
sudo apt-get install -y python3-pip python3-tk=3.10.6-7- Install Python dependencies:
pip3 install -r requirements.txt- Build the executable:
pyinstaller autoclicker.spec- Launch the AutoClicker application
- Use the following keyboard shortcuts:
- F8: Start/Stop recording clicks
- F9: Start/Stop playback
- Set your desired playback interval in seconds
- The window will stay on top for easy access
- Enter the interval in seconds between playback sequences
- Minimum interval is 0.1 seconds
- Default interval is 540 seconds (9 minutes)
- Changes take effect on the next playback cycle
- The application requires X11 on Linux systems
- Global keyboard shortcuts work without root privileges
- Recorded clicks are stored in memory until the program is closed
- Each recorded sequence maintains the exact timing between clicks
If the global shortcuts don't work:
- Make sure you're running X11 (not Wayland)
- Check if python3-tk is installed with the correct version:
sudo apt-get install -y python3-tk=3.10.6-7- Verify you have necessary permissions for input devices
- If the application doesn't appear in the menu after installation, try logging out and back in
- If keyboard shortcuts don't work, make sure no other application is using F8/F9
- If you get tkinter errors, make sure you have the correct python3-tk version installed