Skip to main content

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

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

  1. Start a tmux session with: tmux new-session -s mysession

    Replace mysession with your desired session name

  2. Run pip3 install mouse-jiggler-macos to install the mouse-jiggler package

  3. 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 (Remember cmd+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

  1. Clone the Repo: git clone https://github.com/UmairK5669/mouse-jiggler.git

  2. Install the dependencies: pip3 install -r requirements.txt

  3. Enter the directory where the mouse jiggler code is present: cd mouse_jiggler

  4. Run the program: python3 jiggler.py

Using Tmux

Steps for using Tmux in Terminal

  1. Install tmux using Homebrew: brew install tmux

  2. Start a tmux session: tmux new-session -s mysession

    Replace mysession with your desired session name

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

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

mouse_jiggler_macos-0.4.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

mouse_jiggler_macos-0.4.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file mouse_jiggler_macos-0.4.0.tar.gz.

File metadata

  • Download URL: mouse_jiggler_macos-0.4.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.8

File hashes

Hashes for mouse_jiggler_macos-0.4.0.tar.gz
Algorithm Hash digest
SHA256 a0b31e16e19e25adeb6a7113ac3f80a3867db3be0dcb45f6977e8c37d3f1af20
MD5 d8d95ca6fd7f1702c5b64f85060a8388
BLAKE2b-256 1990d0a68c9ae863aae9273e7d2311c58da433ab5928a2c5b915b58b73e9bfa9

See more details on using hashes here.

File details

Details for the file mouse_jiggler_macos-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mouse_jiggler_macos-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31748c7adf25ffd7e2a77a1c981ed047cf481a4730d0136dcbcd0a6c636f90a7
MD5 a4520a80daf07dd710e4eacafd5e2529
BLAKE2b-256 4f9704e5d83669a90c71f0f1f4d7ff2973183fa77bb2771dbef3da64c5c70f05

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page