A lightweight script that simulates mouse movement to keep your screen awake. Simple, effective, and hassle-free.
This script uses xdotool
. Make sure it is installed on your system:
sudo apt update
sudo apt-get install xdotool
-
Clone the repository:
git clone https://github.com/Hajiagha-Sadikhov/simple-mouse-jiggler cd simple-mouse-jiggler
-
Make the script executable:
sudo chmod +x keep_awake.sh
Run the script to start or stop the mouse jiggler:
./keep_awake.sh
- First Run: The script will start simulating mouse movements to prevent the screen from going to sleep.
- Second Run: It will stop the script and restore normal behavior.
The script will notify you when it starts or stops via a desktop notification (requires notify-send
to be installed, which is usually pre-installed on most Linux distributions).
This project is licensed under the MIT License. See the LICENSE file for details.