Skip to content

feat: add Helium browser to quattro menu - #6606

Open
torturado wants to merge 8 commits into
omacom:quattrofrom
torturado:feature/add-helium-browser
Open

torturado wants to merge 8 commits into
omacom:quattrofrom
torturado:feature/add-helium-browser

Conversation

@torturado

@torturado torturado commented Aug 7, 2026 •

Copy link
Copy Markdown

Problem

Omarchy's browser workflows don't offer Helium, so it can't be installed, chosen as the default, or removed from the menu.

Solution

  • Adds Helium to Install > Browser, Setup > Defaults > Browser and Remove > Browser, with English catalog labels
  • Installs helium-browser-bin from the Omarchy package repository with omarchy-pkg-add (published by Add helium-browser-bin 0.19.4.1 (fast ring) omarchy-pkgs#1218), copies the Omarchy flags to ~/.config/helium-browser-flags.conf and runs the post-install hook, like the other Chromium browsers
  • Teaches omarchy-install-browser-extensions Helium's profile (net.imput.helium) and flags file, and registers the copy-url and yt-dlp native hosts there, so switching to Helium no longer fails the extension check
  • Adds Helium to omarchy-cmd-browser-handoff, so links reach a running Helium over its singleton socket instead of starting a second process
  • Covers Helium in default-apps-test.sh and chromium-extensions-test.sh

The extensions, handoff and i18n fixes come from @mchisolm0's review.

Made with Claude Opus 5.5 in Claude Code.

Copilot AI balanced review requested due to automatic review settings August 7, 2026 14:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@jacksangl

Copy link
Copy Markdown

yes pls pls

Copilot AI review requested due to automatic review settings August 16, 2026 20:15
torturado added a commit to torturado/omarchy that referenced this pull request Aug 16, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@torturado
torturado requested a balanced review from Copilot August 19, 2026 08:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@omarchybot omarchybot added the enhancement New feature or request label Sep 27, 2026
@torturado
torturado force-pushed the feature/add-helium-browser branch from 7c577d8 to 1ffdc20 Compare October 17, 2026 14:50
@greptile-apps

greptile-apps Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The follow-up change appears safe to merge.

Summary

Adds Helium to Omarchy’s browser menus and connects it to installation, default selection, removal, bundled extensions, and link handoff.

  • Helium can be installed, chosen as the default, and removed from Omarchy.
  • Helium can use Omarchy’s bundled extensions and their native helpers.
  • Links can reach a running Helium without starting another process.

No new actionable issues found in the follow-up change.

Reviews (6) · Last reviewed commit: "Keep Helium's flags file when its packag..." · Reviewed by Greptile

Comment thread bin/omarchy-install-browser Resolved
Comment thread test/shell.d/menu-test.sh Resolved
Comment thread bin/omarchy-install-browser Resolved
@torturado

Copy link
Copy Markdown
Author

Please don't merge this until omacom/omarchy-pkgs#1218 is merged and helium-browser-bin is published on pkgs.omarchy.org.

This PR installs Helium with omarchy-pkg-add, which only reads the pacman repositories, so until the package is there Install > Browser > Helium fails with target not found instead of building it from the AUR.

@torturado
torturado force-pushed the feature/add-helium-browser branch from 59be816 to d227aa5 Compare October 17, 2026 15:15
@torturado

Copy link
Copy Markdown
Author

omacom/omarchy-pkgs#1218 is merged and helium-browser-bin 0.19.4.1 is now published on pkgs.omarchy.org (edge, rc and stable, x86_64 and aarch64), so this is ready for review.

@mchisolm0

Copy link
Copy Markdown

Tested this merged into current quattro (a490d5b) on Omarchy 4.5.0, x86_64, helium-browser-bin 0.21.3.1. Three things break it there, and the diff below fixes all three.

  1. Choosing Helium fails. Since Repair the bundled extensions when switching to a Chromium-based browser #18735, omarchy-default-browser runs omarchy-install-browser-extensions --check, which rejects helium, so the switch exits 1 and the default stays put. default-apps-test.sh stubs the helper, so CI misses it. The fix adds Helium's profile and flags file to the helper and registers the native hosts in Helium's profile. Helium then loads copy-url, yt-dlp and whatsapp-slim with nothing disabled. A new chromium-extensions-test.sh case covers it.

  2. i18n-test.sh fails: the English catalog lacks the three new menu rows.

  3. Links open slowly. Helium isn't in omarchy-cmd-browser-handoff, so each link starts a second Helium process through systemd-run and uwsm-app just to forward the URL. From omarchy-launch-browser <url> to the tab's windowtitlev2 event, 15 interleaved runs each:

    p50 range
    Chromium (handoff) 55 ms 50–175 ms
    Helium, this PR 164 ms 153–173 ms
    Helium + handoff line 59 ms 57–67 ms

Rebase conflicts are small: usage lines in omarchy-remove-browser, neighboring menu rows, and expectedDefaults in menu-test.sh, which quattro dropped.

Passing with the diff: chromium-extensions, default-apps, menu, menu-guards, browser-handoff, launch-browser, i18n (also with I18N_STRUCTURAL=1), i18n-sync.py extract-scan --check and ./test/cli.

Diff on top of this PR merged into quattro
diff --git a/bin/omarchy-cmd-browser-handoff b/bin/omarchy-cmd-browser-handoff
index 57f7d376a..6fc9f81aa 100755
--- a/bin/omarchy-cmd-browser-handoff
+++ b/bin/omarchy-cmd-browser-handoff
@@ -18,6 +18,7 @@ case $(type -P "$1") in
 /usr/bin/brave) profile=BraveSoftware/Brave-Browser flags=brave-flags.conf ;;
 /usr/bin/brave-origin) profile=BraveSoftware/Brave-Origin flags=brave-origin-flags.conf ;;
 /usr/bin/microsoft-edge-stable) profile=microsoft-edge flags=microsoft-edge-stable-flags.conf ;;
+/usr/bin/helium-browser) profile=net.imput.helium flags=helium-browser-flags.conf ;;
 *) exit 1 ;;
 esac
 shift
diff --git a/bin/omarchy-install-browser-extensions b/bin/omarchy-install-browser-extensions
index 0992b4d56..3e2d64324 100755
--- a/bin/omarchy-install-browser-extensions
+++ b/bin/omarchy-install-browser-extensions
@@ -1,17 +1,17 @@
 #!/bin/bash
 
 # omarchy:summary=Install Omarchy's bundled extensions in a Chromium-based browser, or check they are current
-# omarchy:args=[--check] <chromium|chrome|brave|brave-origin|edge>
+# omarchy:args=[--check] <chromium|chrome|brave|brave-origin|edge|helium>
 # omarchy:examples=omarchy install browser extensions chromium | omarchy install browser extensions --check chrome
 # omarchy:requires-sudo=true
 # omarchy:hidden=true
 
 # Every browser reaches the bundled extensions through copies taken when it was
-# set up: Chromium, Brave and Edge load them from the --load-extension line in
-# their flags file, Google Chrome (which ignores that flag) force-installs the
-# signed CRXs through its managed policy, and each profile registers native
-# hosts that must admit the extensions' ids. A new extension or new ids leave
-# those copies behind. Only Chrome's policy needs root.
+# set up: Chromium, Brave, Edge and Helium load them from the --load-extension
+# line in their flags file, Google Chrome (which ignores that flag)
+# force-installs the signed CRXs through its managed policy, and each profile
+# registers native hosts that must admit the extensions' ids. A new extension or
+# new ids leave those copies behind. Only Chrome's policy needs root.
 
 set -euo pipefail
 
@@ -30,8 +30,9 @@ chromium) profile=chromium; flags=chromium-flags.conf ;;
 brave) profile=BraveSoftware/Brave-Browser; flags=brave-flags.conf ;;
 brave-origin) profile=BraveSoftware/Brave-Origin; flags=brave-origin-flags.conf ;;
 edge) profile=microsoft-edge; flags=microsoft-edge-stable-flags.conf ;;
+helium) profile=net.imput.helium; flags=helium-browser-flags.conf ;;
 *)
-  echo "Usage: omarchy-install-browser-extensions [--check] <chromium|chrome|brave|brave-origin|edge>" >&2
+  echo "Usage: omarchy-install-browser-extensions [--check] <chromium|chrome|brave|brave-origin|edge|helium>" >&2
   exit 1
   ;;
 esac
diff --git a/bin/omarchy-install-chromium-copy-url b/bin/omarchy-install-chromium-copy-url
index 0ee586d63..d02a140ba 100755
--- a/bin/omarchy-install-chromium-copy-url
+++ b/bin/omarchy-install-chromium-copy-url
@@ -21,6 +21,7 @@ browser_dirs=(
   "$HOME/.config/BraveSoftware/Brave-Origin-Nightly"
   "$HOME/.config/microsoft-edge"
   "$HOME/.config/microsoft-edge-dev"
+  "$HOME/.config/net.imput.helium"
 )
 
 manifest=$(sed "s|__HOST_PATH__|$HOST_PATH|g" "$TEMPLATE")
diff --git a/bin/omarchy-install-chromium-ytdlp b/bin/omarchy-install-chromium-ytdlp
index 63ba46d58..0a378ec39 100755
--- a/bin/omarchy-install-chromium-ytdlp
+++ b/bin/omarchy-install-chromium-ytdlp
@@ -22,6 +22,7 @@ browser_dirs=(
   "$HOME/.config/BraveSoftware/Brave-Origin-Nightly"
   "$HOME/.config/microsoft-edge"
   "$HOME/.config/microsoft-edge-dev"
+  "$HOME/.config/net.imput.helium"
 )
 
 manifest=$(sed "s|__HOST_PATH__|$HOST_PATH|g" "$TEMPLATE")
diff --git a/default/i18n/en/menu.json b/default/i18n/en/menu.json
index 2f80209ef..30d497bb9 100644
--- a/default/i18n/en/menu.json
+++ b/default/i18n/en/menu.json
@@ -600,6 +600,9 @@
   "setup.default.browser.zen": {
     "label": "Zen"
   },
+  "setup.default.browser.helium": {
+    "label": "Helium"
+  },
   "setup.default.dictation": {
     "label": "Dictation",
     "title": "Default Dictation"
@@ -813,6 +816,9 @@
   "install.browser.zen": {
     "label": "Zen"
   },
+  "install.browser.helium": {
+    "label": "Helium"
+  },
   "install.service.1password": {
     "label": "1Password"
   },
@@ -1092,6 +1098,9 @@
   "remove.browser.zen": {
     "label": "Zen"
   },
+  "remove.browser.helium": {
+    "label": "Helium"
+  },
   "remove.service.1password": {
     "label": "1Password"
   },
diff --git a/test/shell.d/chromium-extensions-test.sh b/test/shell.d/chromium-extensions-test.sh
index fc9120d38..0871ad02e 100644
--- a/test/shell.d/chromium-extensions-test.sh
+++ b/test/shell.d/chromium-extensions-test.sh
@@ -177,6 +177,12 @@ repair brave-origin || fail "a commented-out --load-extension switch can be repa
   fail "the repair adds a live --load-extension switch" "$(<"$flags_file")"
 pass "switching to a browser repairs the bundled extensions it lacks and keeps the user's own"
 
+# Helium keeps its profile and flags file under its own names, and switching to
+# it fails unless the repair reaches both.
+repair helium || fail "Helium's bundled extensions can be repaired"
+repair --check helium || fail "a repaired Helium's bundled extensions are reported current"
+pass "switching to Helium sets up its bundled extensions"
+
 # --- WhatsApp Slim ---
 
 # The content script switches WhatsApp Web to its system theme mode, which it

As a branch: mchisolm0/omarchy@helium-on-quattro, this PR merged into quattro plus the three fix commits.

Duplicates: #5553 (oldest; DHH asked for an update in May), #8801, #12132, #16439. All conflict with quattro, and none touches the extensions helper.

The new flags file starts as a copy of chromium-flags.conf, so switching to Helium also sets --password-store=gnome-libsecret, the fix #9995 makes. #9995 still covers flags files that already exist.

Tested with Claude Opus 5.5 in Claude Code.

torturado and others added 6 commits November 19, 2026 19:34
Co-authored-by: mchisolm0 <39521893+mchisolm0@users.noreply.github.com>
Choosing Helium as the default ran the extension check, which rejected it, so the switch failed.

Co-authored-by: mchisolm0 <39521893+mchisolm0@users.noreply.github.com>
Co-authored-by: mchisolm0 <39521893+mchisolm0@users.noreply.github.com>
@torturado
torturado force-pushed the feature/add-helium-browser branch from d227aa5 to c33b60a Compare November 19, 2026 18:36
Comment thread bin/omarchy-remove-browser Resolved
@torturado

Copy link
Copy Markdown
Author

Note

🤖 Claude Opus 5.5 responding on behalf of torturado

@mchisolm0 All three fixes are in. The branch is rebased onto quattro and conflict-free as of c33b60a.

  • Reproduced both failures before applying anything: omarchy-install-browser-extensions --check helium printed the usage and exited 1, and i18n-test.sh failed on the three missing rows.
  • Applied your diff as is, in ad67855, a58d55d and 2590d93, with you as co-author.
  • Checked net.imput.helium and helium-browser-flags.conf against the helium-browser-bin wrapper patch.
  • Also closed Greptile's two open points in c33b60a. Installing Helium now copies the Omarchy flags to ~/.config/helium-browser-flags.conf and runs omarchy-lifecycle-dispatch post-install helium, like the other Chromium installers. default-apps-test.sh now covers Helium in browser_cases and runs the real installer.

Passing: default-apps, chromium-extensions, menu, menu-guards, browser-handoff, launch-browser, i18n (also with I18N_STRUCTURAL=1), i18n-sync.py extract-scan --check and ./test/cli. I didn't re-run your handoff timings.

@omarchybot omarchybot removed the enhancement New feature or request label Nov 19, 2026
Comment thread bin/omarchy-remove-browser Resolved
@omarchybot omarchybot added the enhancement New feature or request label Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants