大网数据广告活动
服务器运维问答

Suppress chrome's first-time dialog on linux

· 52CE 我爱测

I'm trying to install google chrome using puppet on a bunch of linux machines (SLES 12) and I don't want any dialogs that the user has to answer before they can start browsing. This is mainly because the "user" will be Selenium a…

问题原文

原帖链接 · Josh Gagnon · CC BY-SA 3.0

I'm trying to install google chrome using puppet on a bunch of linux machines (SLES 12) and I don't want any dialogs that the user has to answer before they can start browsing. This is mainly because the "user" will be Selenium and it doesn't like unexpected things.

I can't for the life of me stop the dialog that asks me two questions:

I'm going mad. I've tried every preference (via master_preferences) I can find and it still haunts me. My master_preferences:

{
    "homepage" : "http://www.puppetlabs.com",
    "homepage_is_newtabpage": false,
    "distribution" : {
        "ready_mode" : true,
        "skip_first_run_ui" : true,
        "suppress_first_run_bubble": true,
        "suppress_first_run_default_browser_prompt" : true,
        "show_welcome_page" : false,
        "make_chrome_default" : false
    },
    "first_run_tabs" : [
        "new_tab_page"
    ],
    "browser" : {
        "check_default_browser" : false,
        "suppress_first_run_default_browser_prompt" : true
    },
    "sync_promo" : {
        "show_on_first_run_allowed" : false
    },
    "show-first-run-bubble-option": 0
}

I can't find any relevant policy settings.

已采纳解答

原帖链接 · SaucyWrong · CC BY-SA 3.0

Try this setting: http://www.chromium.org/administrators/policy-list-3#MetricsReportingEnabled

You may also need to enforce the setting to make (or not make) Chrome the default browser: http://www.chromium.org/administrators/policy-list-3#DefaultBrowserSettingEnabled

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2014-07-02)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。