Prevent your computer from entering inactivity modes
Project description
qaffeine
Little tool that prevents your computer from entering inactivity modes. Can run in a terminal or in the notification area. Written in Python 3 and Qt 5.
Compatible with Linux, OS/X and Windows.
Requirements
- Python 3
- PySide2
- pyautogui
Installation
Using PIP
#pip3 install qaffeine
This will pull the dependencies automatically.
Using the setup.py supplied in the source tree
#python3 setup.py install
Usage
Command line
Syntax:
$ qaffeine-cli -h
usage: Prevent computer inactivity by simulating key presses
[-h] [-n] [-d DELAY] [-k KEY] [-v]
optional arguments:
-h, --help show this help message and exit
-n, --nogui Don't start a GUI, only a operate in text mode
-d DELAY, --delay DELAY
Delay between key presses in seconds [default: 5] -
only valid with --nogui
-k KEY, --key KEY Key to press [default: altright]; see keys.txt for a
list of valid values - only valid with --nogui
-v, --version Show version number and exit
GUI
Running qaffeine without any argument starts the graphical interface. Qaffeine then runs in the notification area.
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
qaffeine-0.1.post2.tar.gz
(26.6 kB
view hashes)
Built Distribution
Close
Hashes for qaffeine-0.1.post2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cf0d4868027878810d2e42132a0c48219c90c2f6e48d1edde86e57ebcd4dcff |
|
MD5 | d40c2ff0b3e5631413f4687c6ff48c3f |
|
BLAKE2b-256 | 84406ae988c7d433e2acdeffad203d980a74bf8a3bc0a62a2ae3546093814729 |