This release includes important stability improvements, bug fixes, and enhancements for both X11 and Wayland display backends.
๐ Critical Bug Fixes
Memory Safety Improvements
Fixed use-after-free in process lists (#2194): Resolved a critical memory safety issue where process list data was accessed after being freed during Conky restarts. This could cause crashes or undefined behavior when reloading configuration.
Fixed Wayland segfault (#2198): Resolved a use-after-free bug in the Wayland backend's seat listener that could cause crashes. Added additional safety checks to the Wayland main loop based on best practices from other Wayland applications.
Session and Path Handling
Fixed XDG_SESSION_TYPE handling (#2197): Added proper handling for cases where XDG_SESSION_TYPE environment variable is not set, preventing crashes or unexpected behavior during session detection.
Fixed script path validation (#2204): Added validation to check if script paths are absolute or relative, ensuring proper execution of external scripts regardless of the current working directory.
WM/DE-specific strut handling for better desktop integration
Intelligent strut placement that adapts to window manager capabilities
Improved support for panels and docks across different window managers
Better handling of window alignment and positioning
Fixed Fluxbox compatibility (#2196): Resolved window state issues by using WithdrawnState only for Fluxbox, while other window managers (like Openbox) now use NormalState for proper window management. Fluxbox users may need to set XDG_CURRENT_DESKTOP=Fluxbox for optimal behavior.
๐ ๏ธ Build System Enhancements
Improved Installation Process
Syntax file installation (#2187): Conky now properly installs generated syntax highlighting files for text editors, making it easier to edit Conky configuration files with proper syntax support.
Better Wayland build errors (#2193): Added clear error messages when wayland-scanner is missing during the build process, helping users identify and resolve build dependencies more easily.
๐ Documentation
Fixed formatting issues with mismatched backticks in documentation (#2188)
Corrected broken README links (#2212)
๐ง Infrastructure
Updated Docker builds to properly tag releases (#2179)
Updated CI dependencies (nixbuild/nix-quick-install-action)
Upgrade Notes
This release focuses on stability and compatibility. Users experiencing crashes during configuration reloads or issues with window manager integration should see significant improvements.
For Fluxbox Users
If you're using Fluxbox, you may need to set the XDG_CURRENT_DESKTOP environment variable:
export XDG_CURRENT_DESKTOP=Fluxbox
For Developers
When building from source with Wayland support, ensure wayland-scanner is installed to avoid build errors.
Contributors
Thanks to @SFrijters, @Caellian, @aaslam12, @EtienneLeFou, @brndnmtthws, and @dependabot for their contributions to this release!
New Contributors
@SFrijters made their first contribution in https://github.com/brndnmtthws/conky/pull/2188
@aaslam12 made their first contribution in https://github.com/brndnmtthws/conky/pull/2204
Full Changelog: https://github.com/brndnmtthws/conky/compare/v1.22.1...v1.22.2