master_preferences not working on Windows 7 64bit

1,415 views
Skip to first unread message

jason

unread,
Jul 9, 2012, 4:43:33 PM7/9/12
to chromium...@chromium.org
The master_preferences is working on a Windows XP but I can't get it to work on Windows 7 64bit. It does not run any part of it. I placed it in C:\Program Files (x86)\Google\Chrome\Application. Below are the contents of the file. What am I missing?
 
{
  "homepage" : "http://www.google.com",
  "homepage_is_newtabpage" : false,
  "browser" : {
    "show_home_button" : true,
    "check_default_browser" : false
  },
  "session" : {
    "restore_on_startup" : 4,
    "urls_to_restore_on_startup" : [
      "http://www.google.com"
    ]
  },
  "bookmark_bar" : {
    "show_on_all_tabs" : true
  },
  "distribution" : {
    "skip_first_run_ui" : true,
    "show_welcome_page" : false,
    "import_search_engine" : false,
    "import_history" : false,
    "import_home_page": true,
    "create_all_shortcuts" : true,  
    "do_not_launch_chrome" : true,
    "make_chrome_default" : false
  },
  "sync_promo" : {
    "user_skipped" : true
  },
  "first_run_tabs" : [
    "http://www.google.com",
    "new_tab_page"
  ]
}

Joao da Silva

unread,
Jul 10, 2012, 7:11:40 AM7/10/12
to jmoo...@gmail.com, chromium...@chromium.org
Just tried this file and it works. I only replaced "new_tab_page" for the "first_run_tabs" with "chrome://newtab", the rest works as is.

Please notice that the master_preferences are only imported during the first run. Navigate to chrome://version and check the Profile dir; starting chrome with an empty profile dir should import the master_preferences again.


--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

jason

unread,
Jul 10, 2012, 10:51:41 AM7/10/12
to chromium...@chromium.org, jmoo...@gmail.com
Thanks, now that I deleted the google directory in the user profile it is working. One last thing that is not working is  "import_home_page" : true,. It is not importing the home page for some reason.

On Tuesday, July 10, 2012 5:11:40 AM UTC-6, Joao da Silva wrote:
Just tried this file and it works. I only replaced "new_tab_page" for the "first_run_tabs" with "chrome://newtab", the rest works as is.

Please notice that the master_preferences are only imported during the first run. Navigate to chrome://version and check the Profile dir; starting chrome with an empty profile dir should import the master_preferences again.

jason

unread,
Jul 10, 2012, 10:52:18 AM7/10/12
to chromium...@chromium.org

Joao da Silva

unread,
Jul 12, 2012, 8:13:51 AM7/12/12
to jmoo...@gmail.com, chromium...@chromium.org
On Tue, Jul 10, 2012 at 4:51 PM, jason <jmoo...@gmail.com> wrote:
Thanks, now that I deleted the google directory in the user profile it is working. One last thing that is not working is  "import_home_page" : true,. It is not importing the home page for some reason.

Works for me. Please notice that the home page in IE is the startup URL, while on Chrome it's the page that the home button navigates to. The startup URLs on Chrome are set by the session.urls_to_restore_on_startup preference.
Reply all
Reply to author
Forward
0 new messages