Configs2026年7月13日·1 分钟阅读

Conky — Lightweight System Monitor for Linux Desktops

A highly configurable system monitor that renders CPU, memory, disk, network, and custom data directly onto your Linux desktop or Wayland compositor.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Conky Overview
直接安装命令
npx -y tokrepo@latest install b3bcaf7d-7eb7-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

Conky is a system monitor that runs as a desktop overlay on Linux, displaying real-time information about CPU usage, memory, disk I/O, network traffic, temperatures, and more. It is extremely lightweight and endlessly customisable through a Lua-based configuration file.

What Conky Does

  • Displays live system metrics (CPU, RAM, swap, disk, network) on the desktop
  • Renders custom text, bars, graphs, and gauges using Cairo and Imlib2
  • Supports Lua scripting for dynamic content and drawing
  • Monitors external data sources via exec commands, IMAP, POP3, RSS, and MPD
  • Works on X11 and Wayland (with compositor support)

Architecture Overview

Conky runs as a single process that periodically samples system data from /proc, /sys, and platform APIs. It renders output to an X11 window (using double-buffered drawing via Cairo or Imlib2) that can be set as a desktop overlay with no window decorations. On Wayland, it renders to a layer-shell surface. Configuration is parsed from a Lua file that defines layout, colours, fonts, and data sources.

Self-Hosting & Configuration

  • Install via your distro's package manager (apt, dnf, pacman, etc.)
  • Configuration lives in ~/.config/conky/conky.conf (Lua syntax)
  • Use own_window_type = 'desktop' for seamless desktop integration on X11
  • Enable Cairo drawing with lua_draw_hook_post for advanced graphical widgets
  • Hundreds of community themes are available on GitHub and forums

Key Features

  • Extremely low resource footprint (typically under 10 MB RAM)
  • Lua-powered configuration enables complex layouts and logic
  • Cairo integration allows anti-aliased graphs, rings, and custom drawings
  • Built-in support for weather, MPD, IMAP, and RSS data sources
  • Active development with Wayland support and modern compositor integration

Comparison with Similar Tools

  • htop/btop — terminal-based process monitors; Conky is a persistent desktop overlay
  • Polybar/Waybar — status bars for window managers; Conky is a freeform desktop widget
  • Neofetch/Fastfetch — one-shot system info display; Conky is a live, always-on monitor
  • GNOME System Monitor — GUI application; Conky is a lightweight always-visible widget
  • Rainmeter — similar concept for Windows; Conky is the Linux equivalent

FAQ

Q: Does it work on Wayland? A: Yes. Conky supports Wayland through the wlr-layer-shell protocol on compatible compositors like Hyprland and Sway.

Q: How much CPU does it use? A: Typically under 1% with a standard configuration and a 1-second update interval.

Q: Can it display custom data? A: Yes. Use ${exec command} or Lua scripts to pipe any external data into the display.

Q: Where can I find themes? A: Search GitHub for "conky config" or browse community collections on forums like r/unixporn.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产