Skip to content

Hajiagha-Sadikhov/simple-mouse-jiggler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Simple Mouse Jiggler

A lightweight script that simulates mouse movement to keep your screen awake. Simple, effective, and hassle-free.

Requirements

This script uses xdotool. Make sure it is installed on your system:

sudo apt update
sudo apt-get install xdotool

Installation

  1. Clone the repository:

    git clone https://github.com/Hajiagha-Sadikhov/simple-mouse-jiggler
    cd simple-mouse-jiggler
  2. Make the script executable:

    sudo chmod +x keep_awake.sh

Usage

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.

Notifications

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).

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Script to keep your screen awake

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages