Skip to main content

A Linux app that lets you know when you slouch

Project description

postured

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

(join our community) Matrix

Uses your webcam and MediaPipe pose detection to monitor your posture. When slouching is detected, you get notified to sit up straight (screen dimming or LED blink). Runs locally with minimal CPU usage - no accounts needed.

postured showing good posture and slouching states

Install

uv pip install postured
pip install postured

AppImages also available.

Requires notifications support on Gnome Shell.

Settings

Right-click the tray icon to access:

  • Notification style - choose between screen dimming or LED blink
  • Sensitivity - affects detection threshold; higher values trigger on smaller posture deviations
  • 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

GPL-3.0-or-later

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.4.1.tar.gz (5.3 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.4.1-py3-none-any.whl (5.1 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: postured-1.4.1.tar.gz
  • Upload date:
  • Size: 5.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for postured-1.4.1.tar.gz
Algorithm Hash digest
SHA256 b6a35ea41eee2079719f71666f02fbef2bab91bf7d379f3bc02c21e156c93985
MD5 6807ae86b93fcd52a7b815d33d0471e3
BLAKE2b-256 970444477413b80875f31207152ddf711bc9ff375f9008b0a0eb96dc579484f9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postured-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for postured-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d3659aabfa945310a145f69ebb8b1b5a09de5f1e264a61259233222cfd9bd0e6
MD5 71fe83febb082876f0b5817256e68a7e
BLAKE2b-256 8bb2306a9e8015ddb2b66284ad40a9bf2362e1fbc3b5701fcb1c77816a322138

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