AGENT SKILL

launching-the-gui

Use when launching, relaunching, or troubleshooting the desktop GUI window, including on this Linux machine. Trigger when the GUI won't start, shows tiny unreadable text, or needs a fresh launch after edits.

License 许可
MIT
最近更新
2026-08-11
Stars
★ 0
Forks
0

01 前言 Front Matter

name
launching-the-gui
license
MIT
sources
[ "google/skills", "anthropics/skills" ]
version
1.0.0
description
Use when launching, relaunching, or troubleshooting the desktop GUI window, including on this Linux machine. Trigger when the GUI won't start, shows tiny unreadable text, or needs a fresh launch after edits.

03 SKILL.md 正文

Launching the GUI

Linux (this machine)

cd ~/Projects/whatsapp-mtd-sales-automation
setsid .venv/bin/python gui.py >/tmp/gui_launch.log 2>&1 &
  • setsid detaches the process so it survives the terminal reaping backgrounded children.
  • From a non-graphical shell, export DISPLAY=:0 first.
  • Check state with pgrep -af "python gui.py"; read /tmp/gui_launch.log for errors.
  • The launch command itself "hangs" on inherited file descriptors — that is expected. Confirm success in a fresh command.

HiDPI scaling

The GUI auto-scales from the screen width (2560×1440 → ~1.33×). Override live:

GUI_SCALE=2.0 setsid .venv/bin/python gui.py >/tmp/gui_launch.log 2>&1 &

Tiny unreadable text = wrong interpreter

If every label renders as tiny pixelated glyphs, the Python is wrong: uv's standalone Python bundles a Tk 9.0 with no fontconfig/Xft support (its font families returns only ['fixed']). This venv was rebuilt on a system-linked Python 3.12 (~/.local/python312, patchelf RPATH) — its tkinter sees 630 families (Noto Sans). Fix the environment per setup_linux.sh; never patch fonts in code to work around it.

Windows

python gui.py — the desktop backend (dispatcher.py) is auto-selected.

Common mistakes

  • Bundling the launch into a compound pkill ... && setsid ... — the shell quirk swallows it; launch in its own step.
  • Judging success from the launch command itself. Always confirm with pgrep + log in a separate call.

04 同仓库更多 Skills

BangerSoul
BangerSoul/whatsapp-mtd-sales-automation

vercel-react-view-transitions

Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.

★ 0
BangerSoul
BangerSoul/whatsapp-mtd-sales-automation

vercel-react-native-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

★ 0
BangerSoul
BangerSoul/whatsapp-mtd-sales-automation

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

★ 0
BangerSoul
BangerSoul/whatsapp-mtd-sales-automation

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

★ 0
BangerSoul
BangerSoul/whatsapp-mtd-sales-automation

supabase-postgres-best-practices

Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pg_cron, pgmq), vector/semantic search (pgvector), and restoring dumps (pg_restore) or importing data. Also load it when diagnosing slow queries, high CPU, timeouts, EXPLAIN plans, connection exhaustion, locking, bloat, or rows visible to the wrong user or tenant. This is not just a performance guide — schema, migration, security, and SQL authoring tasks need these rules too, even for a one-column change or a single query.

★ 0
BangerSoul
BangerSoul/whatsapp-mtd-sales-automation

skill-installer

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

★ 0