qtile-debug
qtile, diagnostics, logs, IPC, crash-analysis
- License 许可
- BSD-3-Clause
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- qtile-debug
- description
- qtile, diagnostics, logs, IPC, crash-analysis
- compatibility
- Requires Qtile command-line tools; systemd journal access is needed for service failures.
02 资源文件 1
- 参考文档references/isolated-xorg.md1.8 KB
03 SKILL.md 正文
Debug Qtile
Goal
Separate source/import failures, Qtile IPC failures, service failures, and visual regressions using reproducible evidence before proposing an edit.
Workflow
-
Discover
QTILE_CONFIG_ROOT, defaulting to$HOME/.config/qtile, and create a temporary diagnostic directory. -
Collect independent evidence. Preserve failures instead of stopping at the first command:
out="$(mktemp -d "${TMPDIR:-/tmp}/qtile-debug.XXXXXX")" (cd "$QTILE_CONFIG_ROOT" && python -m py_compile config.py) >"$out/compile" 2>&1 || true qtile check -c "$QTILE_CONFIG_ROOT/config.py" >"$out/check" 2>&1 || true qtile --version >"$out/version" 2>&1 || true systemctl --user status qtile.service --no-pager >"$out/service" 2>&1 || true journalctl --user -u qtile.service -b -n 200 --no-pager >"$out/journal" 2>&1 || true qtile cmd-obj -o root -f info >"$out/root-info" 2>&1 || true qtile cmd-obj -o screen 0 -f info >"$out/screen-0" 2>&1 || true xrandr --query >"$out/outputs" 2>&1 || true -
Classify the failure:
- compile/check output means source, dependency, or generated-file drift;
- service/journal output means startup or runtime failure;
- IPC output means socket, process, or object-path failure;
- clean diagnostics plus a wrong screenshot means a visual regression.
-
For a visual regression, invoke
qtile-confirm. It must take and inspect a screenshot; do not infer layout from widget configuration or coordinates. -
For a source failure, invoke
qtile-edit; for a validated runtime change, invokeqtile-reload. Re-run the failing evidence after each change.
Isolated X11 reproduction
Use a nested Xorg server when a visual or Emacs-frame bug could disturb the
active desktop. Requires Xephyr, Qtile's X11 backend, and scrot for visual
evidence. Follow references/isolated-xorg.md for the exact lifecycle:
- Use an unused display, temporary state directory, and unique Emacs server.
- Start Xephyr and Qtile with
--no-spawn, an explicit socket, and the isolatedDISPLAY. - Run every IPC/client/screenshot command with that same
DISPLAYand socket. - Inspect the nested screenshot with
qtile-confirm, then stop only the recorded Qtile/Xephyr/Emacs PIDs.
A nested session is test isolation, not proof by itself; retain only the minimum screenshot and exact window geometry needed for the investigation.
Rules
- Prefer the smallest reproducer and quote the exact failing command/output.
- Do not restart Qtile, delete caches, or rewrite generated files as a first response.
- Treat telemetry JSONL, journal output, screenshots, and window titles as potentially private. Redact before sharing and retain only the minimum needed.
- Do not declare a visual issue fixed without a fresh focused screenshot.
04 同仓库更多 Skills
unknown-frontmatter
validator, fixture
zara-phone-pair
zara, phone, pairing, adb, wireless-debugging, curve, enrollment, android
zara-mcp
zara, mcp, stdio, http, tools, resources, prompts, debugging
youtube-context
youtube, transcripts, yt-dlp, whisper, video-context
worker-orchestration
workers, routing, delegation, fleet, budgets, concurrency
task-steward-worker
steward, rage, leases, fencing, heartbeat, receipts