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-20230530.tar.gz
(4.5 kB
view details)
Built Distribution
File details
Details for the file qosd-20230530.tar.gz
.
File metadata
- Download URL: qosd-20230530.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 | 8e47f5da4e86234211d4dc0c561c704475046826ab9d823453ea1bac4597a4a8 |
|
MD5 | 83b06347d1c44b8d7d451c282af95422 |
|
BLAKE2b-256 | f92755dcef289f9e56ae5aff479f68ca28f42ba5f15ef2ffa18029ac5592b922 |
File details
Details for the file qosd-20230530-py3-none-any.whl
.
File metadata
- Download URL: qosd-20230530-py3-none-any.whl
- Upload date:
- Size: 5.0 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 | 38e24476196d54a9bff96a5b1b86c7367a07d20c3b78c447c0d5d4f825441e70 |
|
MD5 | 3b6557ba1aa572813f4bf6fdd3a21573 |
|
BLAKE2b-256 | 67d3f0535dedc0fc1f8480428204629537ecc917ce63d278ffcc5097365f2c1c |