Mouse Jiggle is a simple Python script designed to keep your remote desktop session active by slightly moving the mouse cursor at regular intervals. This prevents the remote desktop from logging out due to inactivity.
Wes Moskal-Fitzpatrick
- Moves the mouse cursor periodically to simulate activity.
- Prevents remote desktop sessions from timing out.
- Python 3.x
pyautogui
library
-
Make sure you have Python installed on your machine. You can download Python from python.org.
-
Install the
pyautogui
library using pip:pip install pyautogui
-
Clone this repository or download the script directly.
-
Run the script using Python:
python mouse_jiggle.py
- The script uses an infinite loop to continuously move the mouse cursor slightly to the right and then back to the left.
- It includes a short pause between movements to avoid rapid execution.
- Additionally, it simulates a 'shift' key press to ensure that the system registers activity.
This script is intended for personal use. Please ensure that you have permission to use such scripts in your work environment.
This project is licensed under the MIT License - see the LICENSE file for details.