About Toggle Keys Notifier
A focused, open-source utility designed to give you subtle visual and acoustic keyboard feedback without compromising your privacy or battery life.
✦ Why This Project Was Created
I originally made this app for my old PC. It didn't have any LED lights for Caps Lock, Num Lock, or Scroll Lock, so I could never tell if one of them was on until I had already typed a wrong password or half a sentence in all caps.
I looked for existing tools, but most of them either listened to every key I pressed (which I didn't trust), used too much CPU and memory for something so simple, or asked for admin rights just to run.
So I wrote Toggle Keys Notifier instead. It only checks whether those keys are on or off, doesn't log anything you type, and shows a quick popup (with an optional sound) on both Linux and Windows.
Privacy Above All
Zero telemetry. No keystroke logging. The app only inspects whether physical LED bits are 0 or 1.
Lightweight Footprint
Sub-50ms poll cycles that consume negligible CPU. Popups dismiss automatically to prevent screen clutter.
Multi-Screen Harmony
Designed for real desktop workflows: multi-monitor setups, drag-and-drop coordinate canvas, and active mouse tracking.
✦ Under The Hood
Native Tk bindings with modern dark/light mode surface styling.
Auto-selects `pw-play`, `paplay`, or `aplay` seamlessly.
Pure user-level autostart requiring no root/administrator rights.
Verified against SHA256SUMS with --version pinning, isolated sudoers rule, and fallback recovery.
✦ Release Logs & Development History
Detailed progression from initial prototype to production multi-platform release.
SHA-256 Checksum Verification, Version Pinning & Release Pipeline
- Added mandatory SHA-256 checksum (
SHA256SUMS) verification across bothinstall.shand OTAupdater.py. - Added
--version X.Y.Zoption to install or switch to any checksum-verified release and hold automatic updates. - Unified GitHub Actions
release.ymlworkflow producing Linux source archives, Windows ZIPs,install.sh, and checksums. - Added
CONTRIBUTING.mddeveloper guide and linked the official site (tkn.freehour.dev) in the About tab & README.
System Tray Icon Integration
- Added native system tray icon with "Open menu" (Settings / About) and "Quit" actions.
- Linux support via Ayatana AppIndicator (KDE Plasma, Xfce, Cinnamon, GNOME).
- Windows support via notification area tray with auto-minimize to tray.
- Toggle tray icon visibility dynamically in the Settings menu.
Full Windows Native Support & CI Automation
- Ported key state detection to native Windows toggle state APIs.
- Created automated
build_windows.ps1and GitHub Actions Windows build workflow. - Added autostart via
HKEY_CURRENT_USER\...\Runwithout needing admin permissions. - Pre-compiled portable ZIP releases with standalone
.exeexecutables.
Audio Feedback & Multi-Backend Player
- Added custom rising pitch (
on.wav) and falling pitch (off.wav) sound alerts. - Support for PipeWire (
pw-play), PulseAudio (paplay), and ALSA (aplay). - Live audio test button (▶) directly inside the Settings tab.
Hardware LED-Only Watcher & Theming
- Transitioned architecture strictly to watch
/sys/class/leds— 100% guarantee against keylogging. - Removed sudo requirement from everyday runtime; notifier runs as unprivileged user.
- Added Dark (
#242424) and Light (#EBEBEB) themes with synchronized inverted icons. - Added "Start at login" switch backed by systemd user service.
Active Screen Detection
- Added "Show on: Active screen" mode that dynamically routes popups to the monitor with mouse pointer.
- Integrated KWin detection for KDE Plasma Wayland sessions.
Multi-Screen HUD & Update Splash Redesign
- Display HUD popups simultaneously across multiple selected screens.
- Added Noto Color Emoji
thumbs.png(👍🫰) for post-update confirmation splash.
Drag & Drop Monitor Coordinates & Settings Window
- Visual monitor arrangement map with draggable notification target boxes.
- X/Y axis centering locks and bounded screen coordinates relative to center (0, 0).
- Created tabbed Menu window with Settings and About tabs.
Over-The-Air (OTA) Updates & Rollback Recovery
- Automatic background check against GitHub repository every 6 hours.
- Isolated sudoers updater rule preventing arbitrary privilege escalation.
- Automatic fallback rollback if network drops mid-update.
Initial Project Release
- Initial open source release for Linux desktop environments.
- Popup HUD notifications for Caps Lock, Num Lock, and Scroll Lock states.
- One-line installer script with automatic dependency setup.
Project Genesis & Prototype
Core state machine architecture designed and packaged with custom Windows application icon.
✦ Third-Party Notices & Open Source Credits
Toggle Keys Notifier is licensed under the MIT License and gratefully incorporates the following open-source works:
Muhammet Sarican
Feedback, feature suggestions, or questions? Get in touch anytime.