From e9ba17e52ee6c2904289ad4e5a76f588ce0dd662 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 29 Aug 2026 17:13:06 +0200 Subject: [PATCH] Keep the explanation for the Chromium color scheme defaults The comment above the seed was the only thing recording that color_scheme and color_scheme2 are both zero in order to follow system appearance rather than force dark. Generalizing it to "first-run defaults" left two magic numbers with nothing to explain them, so the next person touching an unrelated first-run setting has no way to tell that changing them regresses theme following. Name both things the seed does. Co-Authored-By: Codex XHigh --- install/config/theme-system.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/config/theme-system.sh b/install/config/theme-system.sh index c8272486..a8963439 100644 --- a/install/config/theme-system.sh +++ b/install/config/theme-system.sh @@ -10,7 +10,8 @@ gtk-update-icon-cache /usr/share/icons/Yaru &>/dev/null || true mkdir -p /etc/chromium/policies/managed chmod a+rw /etc/chromium/policies/managed -# Set Chromium first-run defaults +# Seed Chromium's first run: follow system appearance ("device") instead of dark, +# and skip the terms-of-service dialog Chromium 151 turned on by default. mkdir -p /usr/lib/chromium echo '{"distribution":{"require_eula":false},"browser":{"theme":{"color_scheme":0,"color_scheme2":0}}}' > \ /usr/lib/chromium/initial_preferences