Google Chrome browser layer for OpenCharly images — cross-distro, at a stable binary path.
The chrome candy installs Google Chrome and lands the
google-chrome-stable binary plus its .desktop entry, then best-effort
registers it as the default web browser via xdg-settings. It is deliberately
scoped to the browser itself: no CDP scaffolding and no supervisord. For
headless container CDP automation, compose chrome-cdp on top.
| Property | Value |
|---|---|
| Layer / candy | chrome |
| Binary | /usr/bin/google-chrome-stable |
| Desktop entry | /usr/share/applications/google-chrome.desktop |
| Environment | CHROME_FLAGS=--ozone-platform=wayland --enable-features=UseOzonePlatform,VaapiVideoDecodeLinuxGL,VaapiIgnoreDriverChecks |
| Env accepts | HTTP_PROXY, HTTPS_PROXY, NO_PROXY |
| Volume | chrome-data → ~/.chrome-debug |
| Resource caps | shm_size: 1g, memory_max: 6g, memory_high: 5g, memory_swap_max: 2g |
| Service / port | none (compose chrome-cdp for CDP on 9222 / MCP on 9224) |
Per-distro package sources:
fedora—google-chrome-stablefrom Google's direct RPM repo (with--setopt=tsflags=noscripts), plusvulkan-loader,mesa-dri-drivers,cups-libs,iproute.arch—google-chromefrom the AUR, plusvulkan-icd-loader,mesa,libcups,iproute2.
Compose the layer by pinning this repo in a box's candy: list:
my-browser:
candy:
base: fedora
candy:
- '@github.com/opencharly/layer-chrome:v2026.239.1623'It is usually consumed through the chrome-sway or sway-desktop compositions
rather than directly. After the image is built:
ls -l /usr/bin/google-chrome-stable
ls -l /usr/share/applications/google-chrome.desktopA --version invocation is not a reliable check here: when chrome-cdp wraps
the binary it launches a full browser instead of printing a version banner,
contending with a running desktop Chrome.
charly.yml— thechrome:candy entity: package arms, env, security caps, volume, and the default-browser + presenceplan:checks, plus the embeddedskill:entity..github/workflows/tag-on-merge.yml— CalVer tag +CHANGELOG/on merge.README.md— this user overview.
- Owning skill:
/charly-selkies:chrome— the browser layer, CDP proxy, andchrome-wrapperreference - CDP / MCP:
/charly-check:cdp - Compositions:
/charly-selkies:chrome-sway opencharly/charly— the charly CLI and image builderopencharly/opencharly— the umbrella