No project description provided
Project description
monoff
When run via "python -m monoff", will turn off all monitors. Typing on the keyboard or moving the mouse should bring the monitors back. If your monitors auto-detect digital inputs, they should switch to another source if one is available. May be used to switch all monitors in one command in this manner as opposed to individually selecting sources on each monitor.
Should work for Windows, Linux, and Mac. Not tested for Mac.
Notes for different platforms
Windows:
Requires pywin32 (not installed automatically)
Uses pywin32 to broadcast an SC_MONITORPOWER
[https://docs.microsoft.com/en-us/windows/win32/menurc/wm-syscommand](Microsoft Documentation)
Linux:
Uses "xset dpms force off"
Mac (not tested):
Uses "pmset displaysleepnow"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
monoff-0.0.1.tar.gz
(2.2 kB
view details)
Built Distribution
File details
Details for the file monoff-0.0.1.tar.gz
.
File metadata
- Download URL: monoff-0.0.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.7.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d6580fafa09e0fd95a4d1d43d2b7f439db275182d74a008597cbea796a8b4c3 |
|
MD5 | 7e703024e7439079372db2096a05a99b |
|
BLAKE2b-256 | 0c9527cd285a9fd1bc7bc462f93a88ad05308c3aa595cbf2ab241ad12008b28d |
File details
Details for the file monoff-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: monoff-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.7.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e2144fa632b5fda544d821857634937b57211fc3dff4357d26261ecca6ebcc7 |
|
MD5 | 9c4545dbbb36c95d8a4ca492f63363f3 |
|
BLAKE2b-256 | e142b0788fe7609ad5a975757f540cb1e5117b99612193f9769722b390bef4e2 |