Skip to main content

A Linux app that dims your screen when you slouch

Project description

postured

A Linux app that dims your screen when you slouch. Optionally locks your screen when you step away.

Uses your webcam and MediaPipe pose detection to monitor your posture. When slouching is detected, the screen dims as a reminder to sit up straight. Runs locally with minimal CPU usage.

Install

uv pip install .

Usage

postured

Settings

Right-click the tray icon to access:

  • Sensitivity - affects detection threshold and dim intensity; higher values trigger on smaller posture deviations and dim the screen more
  • Lock when away - lock screen when you step away from the camera

D-Bus Interface

Control postured via D-Bus for pause/resume and status queries.

Show commands
# Pause/Resume
busctl --user call org.postured.Postured /org/postured/Postured org.postured.Postured1 Pause
busctl --user call org.postured.Postured /org/postured/Postured org.postured.Postured1 Resume

# Get status
busctl --user call org.postured.Postured /org/postured/Postured org.postured.Postured1 GetStatus

Requirements

  • Python 3.11+
  • Linux
  • Webcam

Credits

Inspired by posturr - check it out if you're on macOS.

License

MIT

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

postured-1.0.0.tar.gz (5.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

postured-1.0.0-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file postured-1.0.0.tar.gz.

File metadata

  • Download URL: postured-1.0.0.tar.gz
  • Upload date:
  • Size: 5.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for postured-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d3618db5e15b6ce2e4fe9f1c2f398e55d8b82c05c9abcb63125652f59b70585c
MD5 84be125c20a6799f652ccd45bfe3d2d3
BLAKE2b-256 25e239dd5359d4ae716ca1fbeaa9cd4bfe94e6ffc455da4fdefebc076277dda1

See more details on using hashes here.

File details

Details for the file postured-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: postured-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for postured-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 edb2b5db1d963011b5a7ebf86e87d82c9ae6ee0e6c7fa34c651f3f2eb70d18bd
MD5 9a3d0e63f008ba46cd27ca7eb1d0eb10
BLAKE2b-256 56a119fe7ec5d7913e5571528e4467250a35756872be9a1a10d9e8e5f12a0bce

See more details on using hashes here.

Supported by

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