A simple mouse jiggler for MacOS
Project description
Mouse Jiggler
Usage
Welcome to mouse-jiggler! This simple program will keep your mouse jiggling whenever you want and can be customized to your liking for whatever your use case may be. Once set up, it will work in the background exactly like any other program running on your machine and work through keyboard shortcuts, exactly like copy and paste. To start the jiggler, all you have to do is press cmd+shift+u
and to stop it simply press cmd+shift+k
. That's it, it's really that simple! There will also be notifications communicating the status, like when you enable it you'll get a standard Mac notification (like all the others) informing you that it is enabled and the same for when you turn it off.
Heard enough and wanna get started? Read the easiest setup method section to get this up and running in as little as a minute!
[!NOTE] This project currently only supports MacOS however, support for other operating systems is coming soon!
Easiest Setup Method
This project is available to download through Python's package manager; pip
We will be running this in a tmux
session to ensure the program can run in the background without issues
- Ensuring Python and
tmux
are installed
Install the brew
package manager here
Once installed, run brew install Python
to install Python, then brew install tmux
to install tmux
[!TIP] If this causes any errors in regards to not being able to find brew, refer to the homebrew official documentation here
-
Start a
tmux
session with:tmux new-session -s mysession
Replace
mysession
with your desired session name -
Run
pip3 install mouse-jiggler-macos
to install the mouse-jiggler package -
Once installed, simply run
jiggler
and you are good-to-go!
[!TIP] Verify installation correctly by pressing
cmd+shift+u
to start the jiggler, you should see a notification in the top-right corner (Remembercmd+shift+k
to turn off)
Close the terminal, if it says "terminate session" that is okay! Terminating the tmux
session won't close the program
[!CAUTION] If your computer sleeps, the program will still be running however, if the computer shuts down the program will unfortunately end. You will have restore the
tmux
session manually which can be done by doing steps 2 and 4 again.
Not-so-simple setup method
-
Clone the Repo:
git clone https://github.com/UmairK5669/mouse-jiggler.git
-
Install the dependencies:
pip3 install -r requirements.txt
-
Enter the directory where the mouse jiggler code is present:
cd mouse_jiggler
-
Run the program:
python3 jiggler.py
Using Tmux
Steps for using Tmux in Terminal
-
Install
tmux
using Homebrew:brew install tmux
-
Start a
tmux
session:tmux new-session -s mysession
Replace
mysession
with your desired session name -
Start the process in the
tmux
session:python3 'path/to/jiggler.py'
[!CAUTION] You might want to install the dependencies again in the
tmux
session as it could cause issues if you don't
- Close the Terminal, and terminate this process.
Your jiggler is setup in the background and won't end process when your computer sleeps. In the event of a computer restart, you will need to restore the tmux
session manually.
Author Thank You
Thank you for getting this far with my app, I really hope you were able to set it up and use it without issues. Please don't hesitate to contact me for any issues or for collaboration as I'm always up for innovation! Reach out via email or social links from my GitHub profile. Thanks 😄!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mouse_jiggler_macos-0.3.0.tar.gz
.
File metadata
- Download URL: mouse_jiggler_macos-0.3.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b49bc34f791bdcf858b37975f1e56da1d694193409b3380e8517a392d895454b |
|
MD5 | 330d9444a4a6f067525104b6e1501fde |
|
BLAKE2b-256 | 25f341804c50cde842873498ce16f37ec367f7d110b8e7c2d2e530956c283ec4 |
File details
Details for the file mouse_jiggler_macos-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: mouse_jiggler_macos-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b866ff664ee6377879dd0cb944d677ec27c4f5b373de52ba6df837c45f6ef78 |
|
MD5 | d3adb2686858743d9e4a91874abeabff |
|
BLAKE2b-256 | af57dd6d82fd545914ed702103f62eaabaadcbf5a6364b37debb8314f964601d |