Allow or disallow online accounts

The GNOME Online Accounts (GOA) are used for integrating personal network accounts with the GNOME Desktop and applications. The user can add their online accounts, such as Google, Facebook, Flickr, ownCloud, and others using the Online Accounts application.

As a system administrator, you can:

  • enable all online accounts;

  • selectively enable a few online accounts;

  • disable all online accounts.

Configure online accounts

  1. Make sure that you have the gnome-online-accounts package installed on your system.

  2. Create the user profile which contains the following lines:

    /etc/dconf/profile/user

    user-db:user
    system-db:local

    local is the name of a dconf database.

  3. Create the directory /etc/dconf/db/local.d/ if it does not already exist.

  4. Create the key file /etc/dconf/db/local.d/00-goa to provide information for the local database containing the following configuration.

    • To enable specific providers:

      [org/gnome/online-accounts]
      whitelisted-providers= ['google', 'facebook']
    • To disable all providers:

      [org/gnome/online-accounts]
      whitelisted-providers= ['']
    • To allow all available providers:

      [org/gnome/online-accounts]
      whitelisted-providers= ['all']

      This is the default setting.

  5. To prevent the user from overriding these settings, create the file /etc/dconf/db/local.d/locks/goa with the following content:

    /etc/dconf/db/local.db/locks/goa

    # Lock the list of providers that are allowed to be loaded
    /org/gnome/online-accounts/whitelisted-providers
  6. Update the system databases:

    # dconf update
  7. Users must log out and back in again before the system-wide settings take effect.