Conky v1.27.0
Conky v1.27.0 adds pre-reload configuration validation (--check-config), a display startup diagnostic (--doctor), stable Linux hardware selectors with device discovery (--list-devices), and X11/Wayland display topology recovery.
Full Changelog: v1.26.3...v1.27.0
Breaking Changes
- Stricter reload validation (#2555): Live reloads (file save or
SIGUSR1) and--check-configreject errors that startup may recover from, such as unknown settings and invalid setting types. Deprecated aliases remain accepted. If validation or output preparation fails on reload, the current widget keeps running; once runtime replacement starts, changes cannot be rolled back.
Highlights Since v1.26.3
Configuration Validation and Reloading
- CLI config checks (#2555): Use
conky --check-config=syntaxto check Lua syntax without executing it, orconky --check-configwith a trusted config to execute its top-level Lua and validate settings, text objects, and output selection. The full check compileslua_loadscripts without running them or their hooks. It does not start collectors, load fonts, or check display or HTTP port availability.
Display Diagnostics
- Startup backend diagnostic (#2554):
conky --doctorreports planned display backends and which requested backends are missing from the build. When Wayland is planned, it also reports advertised shell protocols. It does not initialize backends, map windows, or guarantee startup or placement. It executes top-level Lua, so use it only with trusted configs.
Hardware Selectors and Device Discovery
- Device discovery (#2553):
conky --list-devicesprints example selectors without loading a config or connecting to a display. It lists Linuxhwmonsensors and, on NVML-enabled Linux builds with the driver available, NVIDIA GPUs. XNVCtrl and non-Linux builds do not provide GPU listings. Review the output before sharing: it may contain disk serial numbers and GPU UUIDs. - Stable Linux drive and GPU selectors (#2553):
hwmonaccepts whole-disk/dev/disk/by-id/<id>symlinks with an exact module name and a unique sysfs match. Linux NVMLnvidia*variables accept GPU UUIDs without falling back to GPU0. Unavailable readings showN/Aor skip drawing the bar, gauge, or graph, and Conky retries on the next update.
Display and Platform Fixes
- X11 and Wayland (#2552, #2548, #2555): When a selected monitor disconnects, Conky can use another monitor and return to the original when it reappears (X11 with RandR 1.5+, or Wayland with layer-shell). Passive Wayland layer surfaces are click-through when no
lua_mouse_hookis configured. On X11, Conky preserves the visible frame during resize. - NVIDIA and NetBSD (#2550, #2549):
conky -vreportsnvidia (NVML)when built with NVML. NetBSD reads network interface statistics viagetifaddrsinstead of kernel memory.
Migration Guide (v1.26.3 -> v1.27.0)
No configuration keys need to change. Make a separate backup before editing, then validate your config:
# Optional: syntax only, without executing Lua
conky --check-config=syntax --config=/path/to/conky.conf
# Full check: use only with a trusted config
conky --check-config --config=/path/to/conky.confFix any reported errors and re-run --check-config until it passes. Then save the watched file or signal only the intended Conky process with kill -USR1 <pid>.
Pull Requests by Category
Features
- Validate Conky configuration before reloading and add
--check-config(#2555) - Add the
--doctordisplay startup diagnostic (#2554) - Add stable hardware selectors and
--list-devices(#2553)
Bug Fixes
- Recover from X11 and Wayland display topology changes (#2552)
- Show
nvidia (NVML)inconky -voutput by @molnari811023 (#2550) - Read NetBSD network interface statistics via
getifaddrs(#2549) - Make passive Wayland layer surfaces click-through (#2548)