Skip to main content

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-20230518.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

qosd-20230518-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file qosd-20230518.tar.gz.

File metadata

  • Download URL: qosd-20230518.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

Hashes for qosd-20230518.tar.gz
Algorithm Hash digest
SHA256 3780764c9b25c3e49224df1d5311eca4a80e656710e0e748efeb1578d7f60d05
MD5 fd2a773516d92da8573ff4657bdcc0b2
BLAKE2b-256 efec4af94d70998d8d78862a5de21beb4803a7f72538d16d53d05a349c479a9d

See more details on using hashes here.

File details

Details for the file qosd-20230518-py3-none-any.whl.

File metadata

  • Download URL: qosd-20230518-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

Hashes for qosd-20230518-py3-none-any.whl
Algorithm Hash digest
SHA256 1ebf36437373597577aa27b0b0e94a24bad923857bd3c6a26a26d5b8902d4f1f
MD5 b10a35f61d44df3302bd057ec60b9ce9
BLAKE2b-256 0ec0d56a6112c882908b7193d04c29788fb6ec3ef1d5ce55160f055fa2b0fd4f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page