AGENTS.md is read on every task, so it keeps routing, the hard stops, the install and keyword gates and the completion report, and drops to 514 words; all rule files together drop from 7546 to 5783 words. Rules state the result to reach, and keep a prohibition only where a mistake is hard to undo or a reviewer has caught it before. Lessons from reviewed PRs: PATCHES carried over a bump, Go -ldflags without -s or -w, RUST_MIN_VER from the highest rust-version, cargo QA_FLAGS_IGNORED, ISA gating through cpu_flags, Python Requires-Dist, draft PRs for eclass provider slots missing from ::gentoo, skel.ebuild variable order, DependencyMissingKeywords, and the Go vendor layout. The PR template asks for the reason, a Tested: line and two checks, and names the merge-base scan range so it is not read as a bare --commits. Signed-off-by: Zakk <zakk@gentoozh.org>
928 B
928 B
Desktop Integration
Read with: prebuilt-binaries.md when the application ships prebuilt; dependencies.md for the revbump a changed desktop file or icon needs.
- Match the installed desktop basename to the measured Wayland
app_idor X11WM_CLASS, or addStartupWMClass; an unmatched window gets a default icon. Measure a running instance, using KWin'sworkspace.windowList()where available. - GTK3 uses
g_get_prgname()for this identity rather than theGApplicationid:org.example.App.desktopcan reportapp. - Before changing ozone flags, launch with both
--ozone-platform-hint=autoand--ozone-platform=waylandand verify the selected platform; either can fail. Confirm every switch exists in the bundled Chromium version, which silently ignores newer switches. - Because desktop profiles enable
waylandby default, awayland?switch reaches X11 users too. Prefer runtime platform selection.