
ScreenGuard🛡️ — Digital Wellbeing for Linux, Open-Source with per-app daily limits, lockout enforcement, and Focus Mode (Wayland + X11, GPLv3)
I wanted Android's Digital Wellbeing on my Linux desktop — per-app daily time limits that actually lock you out when time's up. Nothing open-source did this. ActivityWatch tracks time beautifully but won't enforce limits. GNOME 48's built-in panel shows a total screen time number but has no per-app lockouts, no Focus timer, no weekly history navigation.
So I built ScreenGuard.
What it does:
- Digital Wellbeing Dashboard — today's screen time, 30-day cumulative totals, 7-day interactive bar chart (tap any day to see per-app breakdown), and a donut chart showing proportional app usage.
- Per-app daily time limits — set a quota (30m, 1h, 2h, custom) for any app. At 90% you get a warning notification. At 100% ScreenGuard minimizes the window and shows a lockout screen with options to add 15 minutes, edit the limit, or go back to the dashboard.
Focus Mode: Warning and app block
- Focus Mode (Pomodoro timer) — pick a session length (15m, 25m, 45m, 60m), select which apps are "distracting", and ScreenGuard auto-minimizes them if you try to open them during the session. Animated countdown ring included.
History on Dashboard (Interactive)
- Week-by-week history — slide back through previous weeks, inspect any day's app-by-app breakdown.
Privacy:
All data stays in a local SQLite database (~/.local/share/screenguard/usage.db). Zero cloud. Zero telemetry. Zero accounts.
Links:
- GitHub: https://github.com/adityakrishnan005-a11y/ScreenGuard
- Release (v0.1.0 with .rpm, .deb, .tar.gz): https://github.com/adityakrishnan005-a11y/ScreenGuard/releases/tag/v0.1.0
- License: GPLv3
Would love feedback — especially from X11 users on KDE, XFCE, and tiling WM setups.