Default Apps (Extensions like Drive, Gmail, Youtube) or Set Default Theme

266 views
Skip to first unread message

Avneet Kaur

unread,
May 7, 2014, 12:00:41 PM5/7/14
to asar...@chromium.org, chromi...@chromium.org
Hi

I am Avneet Kaur, an Active Contributor to BRL-CAD, LibreCAD and GNU
Project Organizations. Now I am Introducing to Great Developers
Organization - The Chromium Projects.

I successfully compiled the chromium source code without facing any
error. Wiki's are very well written. I want to make contribution to
browser source code.

I explored chrome/browser and src/ui areas to get familiar with the
code for UI enhancements (theme and extensions). I want to customize
the browser Interface like menu structure, buttons, theme and so on.

My first step towards is to set the default theme in source code, not
from the Browser Interface. As I came to know that default apps are
saved under browser/resources/default_apps/ path. So my question is If
I put my my_theme.crx file here ( as default extension), then will It
be a right step ? Or will It work ?

Is there any other way to set the default theme in a right manner ?

By taking your guidance, I can move forward.

Waiting for reply !

--
Er. Avneet Kaur

"Coming together is a beginning; keeping together is progress; working
together is success."

Antony Sargent

unread,
May 7, 2014, 1:05:42 PM5/7/14
to Avneet Kaur, Chromium-dev
If you aren't intending to compile and distribute your own browser derived from the chromium source, there are supported options for offering (user opt-in) default installs of extensions/themes/apps for Google Chrome:


The user opt-in part is very important - sadly we've seen a lot of abuse of this in the past and have recently been making some changes to try and address this. 

If you're interested in making extension-related changes for enterprise managed installs of chrome (ie. not for individual consumers, but in something like an IT-managed windows domain), see http://www.chromium.org/administrators and http://www.chromium.org/administrators/policy-list-3#Extensions.


Avneet Kaur

unread,
May 8, 2014, 4:46:26 AM5/8/14
to Antony Sargent, chromi...@chromium.org
On Wed, May 7, 2014 at 10:35 PM, Antony Sargent <asar...@chromium.org> wrote:
> If you aren't intending to compile and distribute your own browser derived
> from the chromium source, there are supported options for offering (user
> opt-in) default installs of extensions/themes/apps for Google Chrome:
>
> https://developer.chrome.com/extensions/external_extensions

Right now, I want to set the theme only for my own Desktop browser. I
can upload the Instructions
and code to the github for learning purpose that may helpful to others
and they can do testing.

When we compile the chromium, It will run with default theme that
resides in chrome/app/theme/ directory.
Should I go for external extensions or replace this data with
downloaded theme data ?


--
Er. Avneet Kaur
Blog: www.avneetkhasla.wordpress.com

Antony Sargent

unread,
May 8, 2014, 4:45:45 PM5/8/14
to Avneet Kaur, Chromium-dev
Sorry, I may be missing something, but if all you want to do is set the theme for your own desktop, the easiest way to do that is to install one from the webstore (https://chrome.google.com/webstore/category/themes) or write your own (https://developer.chrome.com/extensions/themes). 

If you write your own, you have 3 different choices for how to use it once you're done: upload it to the webstore and then install from there, load it in developer mode, or package it into a .crx and install it by dropping onto the chrome://extensions page. 


Antony Sargent

unread,
May 9, 2014, 2:20:49 PM5/9/14
to Avneet Kaur, Chromium-dev
If this is windows, is the machine joined to an actual domain? I believe we recently added a requirement for some kinds of policies that the machine be joined to a domain, and that policies be pushed via GPO instead of just local registry, because of abuse of these mechanisms by malware on consumer (non domain joined) machines. 

Possibly also of use: 

http://dev.chromium.org/administrators



On Fri, May 9, 2014 at 11:05 AM, Avneet Kaur <kaurav...@gmail.com> wrote:
On Wed, May 7, 2014 at 10:35 PM, Antony Sargent <asar...@chromium.org> wrote:
> If you aren't intending to compile and distribute your own browser derived
> from the chromium source, there are supported options for offering (user
> opt-in) default installs of extensions/themes/apps for Google Chrome:
>
> https://developer.chrome.com/extensions/external_extensions


I am following pre-installed extensions now via group policy.

I am trying to set default HomepageLocation policy in
policy/resources/policy_templates.json file.
But It doesn't work.

Here is the modification that I made

----------------------------------------------------------------------------------
      'policies': [
        {
          'name': 'HomepageLocation',
          'type': 'string',
          'schema': { 'type': 'string' },
          'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
          'features': {
            'can_be_recommended': True,
            'dynamic_refresh': True,
            'per_profile': True,

          },
          'example_value': 'http://chromium.org',
          'id': 1,
          'caption': '''Configure the home page URL''',
          'desc': '''Configures the default home page URL in <ph
name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users
from changing it.

-------------------------------------------------------------------------------

I am passing the URL to example_value. Please tell me where I am wrong.



--
Er. Avneet Kaur
Blog: www.avneetkhasla.wordpress.com

Avneet Kaur

unread,
May 10, 2014, 4:26:31 AM5/10/14
to chromi...@chromium.org
On Fri, May 9, 2014 at 11:50 PM, Antony Sargent <asar...@chromium.org> wrote:
> If this is windows, is the machine joined to an actual domain?


No. I am working on Linux.

To configure the default Homepage URL, there is a policy "HomepageLocation"
mentioned in link : http://dev.chromium.org/administrators/policy-list-3

I am configuring the same as mentioned the change in previous thread.
But Homepage URL is not set to provided URL.

I am also not clear with "PRODUCT_NAME" .

'desc': '''Configures the default home page URL in <ph
name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>

If possible, please point out the thing that I am missing.

Bartosz Fabianowski

unread,
May 12, 2014, 5:17:47 AM5/12/14
to kaurav...@gmail.com, chromi...@chromium.org
On 05/10/2014 10:26 AM, Avneet Kaur wrote:
> On Fri, May 9, 2014 at 11:50 PM, Antony Sargent <asar...@chromium.org> wrote:
>> If this is windows, is the machine joined to an actual domain?
>
>
> No. I am working on Linux.
>
> To configure the default Homepage URL, there is a policy "HomepageLocation"
> mentioned in link : http://dev.chromium.org/administrators/policy-list-3
>
> I am configuring the same as mentioned the change in previous thread.
> But Homepage URL is not set to provided URL.
>
> I am also not clear with "PRODUCT_NAME" .
>
> 'desc': '''Configures the default home page URL in <ph
> name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>
>
> If possible, please point out the thing that I am missing.
>

The "homepage" is what opens when you click the "home" icon. You
probably meant to configure the start-up URLs, see the RestoreOnStartup
and RestoreOnStartupURLs policies.

Vuong Nguyen

unread,
May 12, 2014, 10:40:52 AM5/12/14
to chromi...@chromium.org, asar...@chromium.org
Have you fill the way to set default extesion?

Vào 23:00:41 UTC+7 Thứ tư, ngày 07 tháng năm năm 2014, Avneet Kaur đã viết:

Avneet Kaur

unread,
May 12, 2014, 11:42:35 AM5/12/14
to hoangvu...@gmail.com, chromi...@chromium.org
On Mon, May 12, 2014 at 8:10 PM, Vuong Nguyen <hoangvu...@gmail.com> wrote:
> Have you fill the way to set default extesion?


I tried to set the default extension via group policy or placing an
extension in default apps [0].
But It didn't work.

[0]: http://dev.chromium.org/developers/design-documents/extensions/how-the-extension-system-works/default-apps

--
Er. Avneet Kaur
Blog: www.avneetkhasla.wordpress.com

Vuong Nguyen

unread,
May 12, 2014, 11:51:19 AM5/12/14
to Avneet Kaur, Chromium-dev
yes. I tried to placed a extension in default_apps but nothing changed. In other way, I think set the default extension via group policy or master_preferences only isn't the solution I hope. I think it doesn't effects if you rebuild the Chromium
--
Nguyễn Chí Hoàng Vương
K57CA - University of Engineering and Technology
mobile phone: 01668884617

Bartosz Fabianowski

unread,
May 12, 2014, 12:07:26 PM5/12/14
to hoangvu...@gmail.com, Avneet Kaur, Chromium-dev
On 05/12/2014 05:51 PM, Vuong Nguyen wrote:
> yes. I tried to placed a extension in default_apps but nothing changed. In
> other way, I think set the default extension via group policy or
> master_preferences only isn't the solution I hope. I think it doesn't
> effects if you rebuild the Chromium

Policy sticks around no matter how many times you rebuild or reinstall
Chrome/Chromium.

YF CAO

unread,
Apr 12, 2015, 8:48:38 AM4/12/15
to chromi...@chromium.org, hoangvu...@gmail.com
me too.


在 2014年5月12日星期一 UTC+8下午11:42:35,Avneet Kaur写道:
Reply all
Reply to author
Forward
0 new messages