Enable Chrome Gemini
Overview
Use this 技能 to 设置 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.
工作流
Close every Chrome window.
If Chrome is still 运行ning, 停止 here before editing 性能分析 data.
运行 scripts/repAIr_chrome_gemini.py.
The script backs up Local 状态 and 补丁es the Gemini eligibility fields.
It 设置s 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.
Open Chrome agAIn.
Test Alt + G.
If Gemini 应用ears, the 设置up is complete.
- Finish the native 设置up if needed
If Gemini still does not 应用ear, open chrome://flags and 验证 Glic and Glic side panel.
Only use the manual flags step if the underlying 性能分析 状态 did not take effect.
On macOS, the Chrome 性能分析 lives under ~/库/应用 Support/Google/Chrome.
Use Alt + G one more time.
检查 that the Gemini sidebar or floating panel opens on the active Chrome 性能分析.
What The Script Changes
设置 Chrome variation country fields to us.
设置 glic.is_glic_eligible = true.
Keep existing Glic experiments and ensure glic@1 and glic-side-panel@1 are present.
设置 intl.应用_locale, intl.selected_languages, and intl.accept_languages to English values.
Write a timestamped 备份 next to Local 状态.
When To Use It
First-time Gemini in Chrome 设置up outside the US.
A fresh Chrome 性能分析 needs Gemini enabled.
Gemini in Chrome worked before and 停止ped opening.
The sidebar, floating panel, or Alt + G shortcut no longer 应用ears.
Chrome has the right version, but the entry is hidden or eligibility seems missing.
A browser 状态 from a prior tutorial or 性能分析 needs to be normalized into the native Gemini 设置up.
What This 技能 Covers
Native Chrome Gemini / Glic 设置up.
Windows, macOS, and Linux 性能分析 locations.
Local 状态 补丁ing for region and eligibility.
Flag and language 检查s that unblock the native UI.
What This 技能 Does Not Cover
Third-party Gemini 扩展s.
Non-Chrome browsers.
Enterprise policy administration beyond 检测ing that policy may block the 设置up.
防护rAIls
Only edit Local 状态.
Do not touch unrelated Chrome 性能分析 files.
If Chrome is still 运行ning, 停止 and ask the user to close it unless --force is 请求ed.
If the 性能分析 is managed by policy, 停止 and 报告 that the fix may be blocked.
Script Usage
python scripts/repAIr_chrome_gemini.py --user-data-dir "%LOCAL应用DATA%\Google\Chrome\User Data"
python scripts/repAIr_chrome_gemini.py
Use --dry-运行 to preview changes, --force if Chrome is already open and you want to override the safety 检查, and --language "" to skip language normalization.
On macOS or Linux, the script defaults to the standard Chrome 性能分析 location, so the --user-data-dir flag is optional unless you use a custom 性能分析 path.