(re-trying from the right account this time...) Several others have mentioned master_preferences, so I'll just add a few tips.
Like PhistucK mentioned, if you create a master_preferences file next to chrome.exe (on Windows), and edit it to contain: { "homepage": "<your homepage setting here>" } ...the homepage will be preset to the page you specify. Note that master_preferences acts as a template for Preferences for users who start Chrome for the first time. So if you've already got a Preferences file, changing the "homepage" setting in master_preferences won't do anything...you will need to delete the Preferences file first so it gets recreated from master_preferences. I should probably document some of this... Glenn On Sun, Dec 20, 2009 at 3:03 AM, Evan Martin <e...@chromium.org> wrote: > On Sat, Dec 19, 2009 at 9:32 PM, cpu <c...@chromium.org> wrote: > > Yes, the MasterPreferences is what we use so far. It is just a json > > file in a particular path. I am not sure if we have enabled this for > > the linux build. > > It hasn't. > > See browser_main.cc around line 540, the part that mentions > ProcessMasterPreferences: > > http://src.chromium.org/cgi-bin/gitweb.cgi?p=chromium.git;a=blob;f=chrome/browser/browser_main.cc;h=ff1d17d7277b5df9a9e1d901adaf326ee6c2c6ff;hb=HEAD#l539 > > You could probably follow the Windows implementation of > ProcessMasterPreferences (see first_run_win) to make a Linux one, but > it will of course be rather different. > > -- > Chromium Developers mailing list: chromium-dev@googlegroups.com > View archives, change email options, or unsubscribe: > http://groups.google.com/group/chromium-dev > -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev