Repository navigation
How to enable colour schemeing for Helium Browser? #2207
Replies: 3 comments 4 replies
|
Caelestia themes Chromium-family browsers through a managed policy, and Helium can use the same mechanism. It just isn't on Caelestia's list yet. How Caelestia does it: on every scheme change, {"BrowserThemeColor": "#<surface colour>", "BrowserColorScheme": "device"}to that browser's Why Helium is skipped: there's no Workaround: give Caelestia a mkdir -p ~/.local/bin
ln -s "$(command -v helium)" ~/.local/bin/chromium # or the path to your Helium AppImageMake sure Two things to watch:
I haven't tested this with Helium itself; it's based on reading the Caelestia CLI and Helium's Linux patches. If it works for you, adding |
|
Alright would try when i am free and would inform you
…On Mon, Nov 2, 2026 at 12:56 AM Pau ***@***.***> wrote:
Caelestia themes Chromium-family browsers through a managed policy, and
Helium can use the same mechanism. It just isn't on Caelestia's list yet.
*How Caelestia does it:* on every scheme change, apply_chromium() in the
CLI (src/caelestia/utils/theme.py) checks for chromium, brave and
google-chrome-stable on your PATH. For each one it finds, it writes
{"BrowserThemeColor": "#<surface colour>", "BrowserColorScheme": "device"}
to that browser's …/policies/managed/caelestia.json (using sudo -n), then
runs <browser> --refresh-platform-policy. It's on by default, controlled
by theme.enableChromium in ~/.config/caelestia/cli.json.
*Why Helium is skipped:* there's no helium entry in that list. Helium
doesn't change Chromium's policy location, though. Its Linux build keeps
the stock Chromium policy directory, /etc/chromium/policies/managed,
which is the folder Caelestia writes for chromium.
*Workaround:* give Caelestia a chromium command that is actually Helium:
mkdir -p ~/.local/bin
ln -s "$(command -v helium)" ~/.local/bin/chromium # or the path to your Helium AppImage
Make sure ~/.local/bin is on the PATH your shell session (and so
Caelestia) uses. Then switch schemes once, and check helium://policy (or
chrome://policy): BrowserThemeColor should be listed.
Two things to watch:
- The CLI uses sudo -n, so it only writes the file if sudo works
without a password prompt. If /etc/chromium/policies/managed doesn't
get created, run sudo mkdir -p /etc/chromium/policies/managed once and
allow passwordless sudo tee for that file (a sudoers rule), or run caelestia
scheme set … from a terminal where sudo doesn't need to ask.
- If you also have real Chromium installed, skip the symlink.
Caelestia already writes the shared folder, and Helium picks it up after a
restart.
I haven't tested this with Helium itself; it's based on reading the
Caelestia CLI and Helium's Linux patches. If it works for you, adding ("helium",
Path("/etc/chromium/policies/managed")) to the browsers list in
apply_chromium() would make it official.
—
Reply to this email directly, view it on GitHub
<#2207?email_source=notifications&email_token=B7UXZBXTQU4DQHK453TFXQ35W6E5RA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJTGM3TCNRUUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-19337164>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/B7UXZBXPWE3AK2LUCE7L5YL5W6E5RAVCNFSNUABIKJSXA33TNF2G64TZHM4TCNJRGI4DCNZXHNCGS43DOVZXG2LPNY5TCMJRGE4TANZUUF3AE>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/B7UXZBXEQNTAJYOP5XIH5GL5W6E5RA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJTGM3TCNRUUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVJTG633UMVZF62LPOM>
and Android
<https://github.com/notifications/mobile/android/B7UXZBTFE5SQX46BQ6IE2WD5W6E5RA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJTGM3TCNRUUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVZTG633UMVZF6YLOMRZG62LE>.
Download it today!
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
with the workaround you'd get a partially themed Helium (frame/tab strip only, omnibox and toolbar in Helium's default gray) plus a policy error for BrowserColorScheme the Helium maintainer stated in #1459
but check #2692 in the Helium repo, adjusting how Helium's colour mixer interacts with Chrome theme colours, so now maybe an extension based approach might work |
Uh oh!
There was an error while loading. Please reload this page.
i did most of my apps that i use daily but this is the one that is giving me troubles cuz its a browser can anyone help with this?
All reactions