WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Chromium Policies Folder?  (Read 3536 times)

Offline stasis_22

  • Newbie
  • *
  • Posts: 7
Chromium Policies Folder?
« on: June 30, 2011, 01:21:52 AM »
Hi There,
Thanks to Arslan S. for the Chromium Browser package.

I was wanting to create a custom TC box for a family member and was wanting to set a few policies.
I saw  this info http://www.chromium.org/administrators/linux-quick-start  about creating a .json file for policies.
I created the folders and tried it in TC, but it didn't seem to work.

I was just wondering if anyone knew if the TC extension behaves like that, or is built to look at a different location or something?

I know that you can start Chromium off the command line with arguments to open the home page, but I was looking so set up something a bit easier than that.

Thanks

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Chromium Policies Folder?
« Reply #1 on: June 30, 2011, 09:10:49 AM »
you should put that file in the folder /etc/chromium/policies/managed

also you should add etc/chromium to your backup list
« Last Edit: June 30, 2011, 09:12:25 AM by Arslan S. »

Offline stasis_22

  • Newbie
  • *
  • Posts: 7
Re: Chromium Policies Folder?
« Reply #2 on: July 02, 2011, 04:30:19 PM »
Thanks for the help,
I tried that and I still couldn't seem to get it going.
I am just testing this stage and if it works I will set up a more permanent folder structure, so at this stage I manually created /etc/chromium/policies/managed
I download the example .JSON file from http://www.chromium.org/administrators/policy-templates
copied it to /etc/chromium/policies/managed/chrome.json
chmod 777 on it so that everyone has full access while I am testing.

Opened Chromium, as the .json file has the homepage set to www.chromium.com I was expecting that to be the homepage, but nothing seemed to come up.

Am I doing something wrong?
Thanks again.

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Chromium Policies Folder?
« Reply #3 on: July 03, 2011, 08:40:32 AM »
i have got it working by following the instructions given in the link at first post

Offline stasis_22

  • Newbie
  • *
  • Posts: 7
Re: Chromium Policies Folder?
« Reply #4 on: July 04, 2011, 12:47:11 AM »
Thanks for the help,
I think it is going, but for some reason the line in the example
Code: [Select]
"HomepageLocation": "www.chromium.org" doesn't seem to work as expected. I was expecting that to set the homepage when starting up.
When I tried again with the demo .json file from here:
http://www.chromium.org/administrators/policy-templates/chrome.json?attredirects=0

it seemed to set the homepage off the policy line:
Code: [Select]
"RestoreOnStartupURLs": ["http://example.com", "http://chromium.org"],
It wasn't what I was expecting, but I think it's going now. Just thought I would share.

Thanks again.