Another option is setting the Google API Keys in the environment [1].

So, it should be enough to create a file at /etc/chromium.d that
exports the keys. (/usr/bin/chromium sources all files on that dir)

This works for me:

$ cat /etc/chromium.d/googleapikeys 
export GOOGLE_API_KEY="AIzaSyCkfPOPZXDKNn8hhgu3JrA62wIgC93d44k"
export GOOGLE_DEFAULT_CLIENT_ID="811574891467.apps.googleusercontent.com"
export GOOGLE_DEFAULT_CLIENT_SECRET="kdloedMFGdGla2P1zacGjAQh"


(BTW: This keys are the Debian Google API keys that used to be included 
in older Chromium packaging debian/rules)

[1] http://www.chromium.org/developers/how-tos/api-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to