System Status & Notifications (ck-status)
ck-status (CkStatus X application class) provides modern Linux desktop notifications, StatusNotifier background tray hosting, and laptop/workstation hardware status controls in an authentic 1995 SunSoft / IBM CDE Motif interface that runs identically on CDE (Wayland) and CDE (X11 / XLibre).
Subsystems
| Subsystem | Data source / D-Bus interface | Capabilities |
|---|---|---|
| Desktop Notifications | org.freedesktop.Notifications (/org/freedesktop/Notifications) | Hosts standard Linux notifications (notify-send, browsers, mailers), displays 3D-beveled CDE toast banners above the Front Panel, supports Do Not Disturb, maintains a session history list, and toggles $HOME/.dt/notifications.unread for the Front Panel's central Switch indicator lamp. |
System Tray (SNI) | org.kde.StatusNotifierWatcher & org.freedesktop.StatusNotifierWatcher (/StatusNotifierWatcher) | Hosts modern Linux background tray items, decodes network-byte-order ARGB32 IconPixmap icons onto Motif controls, tracks NameOwnerChanged disconnects, and dispatches Activate, SecondaryActivate, and ContextMenu. |
| Power & System Load | /sys/class/power_supply/* + /sys/firmware/acpi/platform_profile + /proc/stat + /proc/loadavg | Displays an AA-proportioned 4-cell battery, AC mains power plug icon, charge percentage, watt draw, runtime/charge estimate, CPU activity percentage, load averages, and platform power profile on laptops; omits battery bars on desktop workstations without a battery and shows AC mains + CPU/system load instead. |
| Network & Wi-Fi | org.freedesktop.NetworkManager + /sys/class/net/* + /proc/net/wireless + getifaddrs() | Displays primary link status, IPv4/IPv6 addresses, RX/TX byte counters, Wi-Fi radio enable toggle, scanned SSIDs with signal bars, and one-click connection setup (nm-connection-editor or dtterm -e nmtui). |
| Bluetooth | org.bluez (ObjectManager) + /sys/class/bluetooth/* | Displays adapter power state, toggles org.bluez.Adapter1.Powered, lists paired/discovered devices, and invokes Connect / Disconnect. |
Front Panel integration and modes
ck-status integrates with the genuine CDE Front Panel (dtwm and dtwm-panel) in three complementary ways:
- Central Switch Notification Lamp (
dtwm.fp): Slot 3 of the central workspace Switch monitors$HOME/.dt/notifications.unread(MONITOR_TYPE file), lighting up automatically when unread notifications arrive and launchingck-status --tab notificationswhen clicked. - Slide-Up System & Hardware Subpanel (
SystemSubpanel): Provides dedicated controls for System Status, Power & Battery, Network & Wi-Fi, Bluetooth, Audio Mixer (ck-mixer), and Monitors & Display. Right-clicking any subpanel item and choosing Copy To Main Panel promotes it permanently onto the main Front Panel. - Interactive 4-Quadrant Live Gauge (
ck-status --gauge): Embeds a borderless74×54TYPE client(CLIENT_NAME ck-status-gauge) instrument cluster in~/.dt/types/ckstatus_gauge.fpshowing Wi-Fi signal bars, Bluetooth + notification/SNI lamp, and either an AA-proportioned battery + AC plug + percentage (on laptops) or the 3D CDE AC mains plug + live CPU usage percentage (on desktop workstations without a battery). Clicking individual quadrants opens the corresponding tab directly.
Command-line options
ck-status [--tab overview|notifications|power|network|bluetooth]
[--daemon] [--gauge] [--pin-gauge | --unpin-gauge] [--standalone]
--daemon: Starts unmapped as the session notification andStatusNotifierWatcherservice (automatically invoked byXsession.wayland); subsequentck-status --tab <name>invocations raise and switch the running instance overorg.ckcore.Status.--gauge: Runs as a compact74×54Front PanelTYPE clientinstrument cluster (WM_CLASSck-status-gauge).--pin-gauge/--unpin-gauge: Installs or removes~/.dt/types/ckstatus_gauge.fpand reloads the Front Panel.
CK Core Apps