QOSD for python
Project description
qosd - display text over your Xorg screen
qosd
is a command-line tool and python library can display text over your Linux desktop screen:
- text is displayed over any window (On-Screen-Display)
- display simple line
- tail stdin
- transparency and text style is configurable
Install
pip install qosd
Usage
usage: qosd [-h] [-i] [-m MAXLINES] [-n SESSION_NAME] [-o OPACITY] [-p {topleft,topright,bottomleft,bottomright}] [-P POSITION_OFFSET POSITION_OFFSET] [-s STYLE] [-t TIMEOUT] text [text ...]
qosd - OSD from python - v20230516
positional arguments:
text text to display, or '-' for stdin
options:
-h, --help show this help message and exit
-i, --no-input set window transparent to input
-m MAXLINES, --maxlines MAXLINES
default: 30
-n SESSION_NAME, --session-name SESSION_NAME
start named OSD display session, killing previous OSD with same session name
-o OPACITY, --opacity OPACITY
default: 1.0
-p {topleft,topright,bottomleft,bottomright}, --position {topleft,topright,bottomleft,bottomright}
text position, default=topleft
-P POSITION_OFFSET POSITION_OFFSET, --position-offset POSITION_OFFSET POSITION_OFFSET
offset in pixels from position, default: 0 0
-s STYLE, --style STYLE
default: 'color:"#FFFFFF";background-color:"#99000000";font-size:11pt;font-weight:bold;'
-t TIMEOUT, --timeout TIMEOUT
display timeout in seconds, default: 3
examples:
$ qosd hello
$ tail -f /var/log/{messages,auth.log} | qosd -
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
qosd-20230516.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file qosd-20230516.tar.gz
.
File metadata
- Download URL: qosd-20230516.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b7f94301425897b39b72a1c39ee3177cbda864479105e5b3f9b84080095b55b |
|
MD5 | d3e05bf56a40c2e9868916643b35cf64 |
|
BLAKE2b-256 | 2497ff00bf541ff766c0ae3f6c74b092f8ed3b9b9f18b7bcd5e1555a0fa6af23 |
File details
Details for the file qosd-20230516-py3-none-any.whl
.
File metadata
- Download URL: qosd-20230516-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d6f338672a095750534e7b72d8c3c6595139d66a9757c5d74db4579183ee6e3 |
|
MD5 | 380946de95120647b533466e6bb46512 |
|
BLAKE2b-256 | 3eb34e29d5b4a3a955cd1760181ae8a924bc7562e0db864a7bc0ae0a3797687b |