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,center,centerleft,centerright}] [-P POSITION_OFFSET POSITION_OFFSET] [-s STYLE] [-t TIMEOUT] text [text ...]
qosd - display text over your Xorg screen - v20230529
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,center,centerleft,centerright}, --position {topleft,topright,bottomleft,bottomright,center,centerleft,centerright}
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-20230529.tar.gz
(4.5 kB
view details)
Built Distribution
File details
Details for the file qosd-20230529.tar.gz
.
File metadata
- Download URL: qosd-20230529.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f257cfdf97f0b0197dfca1af2d77f2ba1c6b499a57f19ec36eb751b9b820adae |
|
MD5 | d6752706297a1158014e70812c19e94f |
|
BLAKE2b-256 | ff1921f9e803a661066b7f8112e46327f6e153008811a08d7c4f68f4f2eb5f10 |
File details
Details for the file qosd-20230529-py3-none-any.whl
.
File metadata
- Download URL: qosd-20230529-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 | 07d44fc62d7df70a016b2e33ac01488a062721a689a1b3de9725b13e2d09b678 |
|
MD5 | 3fb8ecf5fe51052b4232cfa526b56301 |
|
BLAKE2b-256 | 794a02512c61d218637741182e530245b482aca0fdba4570a81958c29e9c45f9 |