← 返回
未分类 中文

Enable Chrome Gemini

Set up or repair Gemini in Chrome (Glic) on Windows, macOS, or Linux when enabling it for the first time outside the US or when the sidebar, floating panel,...
在 Windows、macOS 或 Linux 上首次在美国境外启用时设置或修复 Chrome 中的 Gemini (Glic),或解决侧边栏、浮动面板等问题。
at386369-ai at386369-ai 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 429
下载
💾 1
安装
1
版本
#latest

概述

Enable Chrome Gemini

Overview

Use this skill to set up Gemini in Chrome on Windows, macOS, or Linux for the first time in non-US regions, or to bring it back when it was previously working and the sidebar or floating panel no longer opens.

Workflow

1. Close Chrome

  • Close every Chrome window.
  • If Chrome is still running, stop here before editing profile data.

2. Patch Local State

  • Run scripts/repair_chrome_gemini.py.
  • The script backs up Local State and patches the Gemini eligibility fields.
  • It sets the variation country to us, marks Glic eligibility true, keeps the glic@1 and glic-side-panel@1 experiments, and normalizes the Chrome UI language to en-US.

3. Relaunch and verify

  • Open Chrome again.
  • Test Alt + G.
  • If Gemini appears, the setup is complete.

4. Finish the native setup if needed

  • If Gemini still does not appear, open chrome://flags and verify Glic and Glic side panel.
  • Only use the manual flags step if the underlying profile state did not take effect.
  • On macOS, the Chrome profile lives under ~/Library/Application Support/Google/Chrome.

5. Confirm the result

  • Use Alt + G one more time.
  • Check that the Gemini sidebar or floating panel opens on the active Chrome profile.

What The Script Changes

  • Set Chrome variation country fields to us.
  • Set glic.is_glic_eligible = true.
  • Keep existing Glic experiments and ensure glic@1 and glic-side-panel@1 are present.
  • Set intl.app_locale, intl.selected_languages, and intl.accept_languages to English values.
  • Write a timestamped backup next to Local State.

When To Use It

  • First-time Gemini in Chrome setup outside the US.
  • A fresh Chrome profile needs Gemini enabled.
  • Gemini in Chrome worked before and stopped opening.
  • The sidebar, floating panel, or Alt + G shortcut no longer appears.
  • Chrome has the right version, but the entry is hidden or eligibility seems missing.
  • A browser state from a prior tutorial or profile needs to be normalized into the native Gemini setup.

What This Skill Covers

  • Native Chrome Gemini / Glic setup.
  • Windows, macOS, and Linux profile locations.
  • Local State patching for region and eligibility.
  • Flag and language checks that unblock the native UI.

What This Skill Does Not Cover

  • Third-party Gemini extensions.
  • Non-Chrome browsers.
  • Enterprise policy administration beyond detecting that policy may block the setup.

Guardrails

  • Only edit Local State.
  • Do not touch unrelated Chrome profile files.
  • If Chrome is still running, stop and ask the user to close it unless --force is requested.
  • If the profile is managed by policy, stop and report that the fix may be blocked.

Script Usage

python scripts/repair_chrome_gemini.py --user-data-dir "%LOCALAPPDATA%\Google\Chrome\User Data"
python scripts/repair_chrome_gemini.py

Use --dry-run to preview changes, --force if Chrome is already open and you want to override the safety check, and --language "" to skip language normalization.

On macOS or Linux, the script defaults to the standard Chrome profile location, so the --user-data-dir flag is optional unless you use a custom profile path.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 20:58 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomas-security
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装后可防止您和您的用户受到提示注入、数据泄露及恶意行为的侵害。
★ 116 📥 30,976
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,687
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 31,020