NoIdle is a lightweight CLI tool for Linux that prevents session timeout by simulating minimal mouse activity — only when real inactivity is detected.
Unlike traditional “mouse jigglers”, NoIdle:
- ✅ Detects real mouse inactivity using
libinput - ✅ Works properly under Wayland
- ✅ Avoids constant fake movement
- ✅ Keeps your session active without interfering with your workflow
Most existing tools:
- ❌ Move the mouse constantly
- ❌ Break under Wayland
- ❌ Cause unwanted UI interactions
- ❌ Are unreliable in modern Linux environments
NoIdle does it right:
It only acts when your mouse is truly idle.
- Monitors mouse activity using:
libinput debug-events
-
Tracks the last real user interaction timestamp
-
When inactivity exceeds the defined interval:
- triggers a minimal movement using:
evemu-event
- Resets the inactivity timer
Install dependencies:
sudo apt update
sudo apt install evemu-tools libinput-tools
| Package | Purpose |
|---|---|
| libinput-tools | Detects real mouse activity |
| evemu-tools | Simulates precise mouse movement |
git clone https://github.com/GGTY81/noidle.git
cd noidle
chmod +x install.sh
./install.sh
chmod +x noidle.sh
sudo cp noidle.sh /usr/local/bin/noidle
noidle run --interval 5 --distance 100 -v
sudo -v
noidle start --interval 60 --distance 1
noidle toggle --interval 60 --distance 1
noidle stop
noidle status
noidle list-devices
noidle run -i 10 -d 2 -v
This will:
- wait 10 seconds of inactivity
- move the mouse by 2 pixels
- print debug logs
-
Requires sudo for:
- evemu-event
- libinput debug-events
-
To avoid password prompts during execution:
sudo -v
NoIdle is designed specifically for Wayland environments, where traditional tools fail.
It avoids:
- X11 dependencies
- Fake cursor injection
- Broken hacks
- Generating long reports
- Preventing session timeout
- Remote support tasks
- Automation workflows
- IT environments
Don't fake activity — detect it.
Giovanni Grimaldi Torelly
GitHub: https://github.com/GGTY81
This project is licensed under the GNU GPL v3 License.
See the LICENSE file for details.