<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="extensions-enable" lang="gl">

  <info>
    <link type="guide" xref="software#extension"/>
    <link type="seealso" xref="extensions-lockdown"/>
    <link type="seealso" xref="extensions"/>
    <revision pkgversion="3.30" date="2019-02-08" status="review"/>

    <credit type="author copyright">
      <name>Petr Kovar</name>
      <email>pknbe@volny.cz</email>
      <years>2014</years>
    </credit>
    <credit type="author">
      <name>Jana Svarova</name>
      <email>jana.svarova@gmail.com</email>
   </credit>

    <license xmlns="http://projectmallard.org/1.0/" href="https://creativecommons.org/licenses/by-sa/3.0/">
  <p>This work is licensed under a <link href="https://creativecommons.org/licenses/by-sa/3.0/">Creative
  Commons Attribution-ShareAlike 3.0 Unported License</link>.</p>
</license>

    <desc>Activar extensións de GNOME Shell para os usuarios.</desc>
  <credit type="translator copyright"><name>Fran Diéguez</name><email>frandieguez@gnome.org</email><years>2010-2025</years></credit></info>

  <title>Activar as extensións a nivel de máquina</title>
  
  <p>To make extensions available to all users on the system, install them in
  the <file>/usr/share/gnome-shell/extensions</file> directory. Note that
  newly-installed machine-wide extensions are disabled by default.</p>

  <p>You need to set the <code>org.gnome.shell.enabled-extensions</code> key in
  order to set the default enabled extensions. However, there is currently no
  way to enable additional extensions for users who have already logged in. This
  does not apply for existing users who have installed and enabled their own
  GNOME extensions.</p>

  <steps>
    <title>Configure a chave org.gnome.shell.enabled-extensions</title>
    <item>
      <p>Cree un perfíl de <code>usuario</code> en <file>/etc/dconf/profile/user</file>:</p>
      <listing>
        <code>
user-db:user
system-db:local
</code>
      </listing>
    </item>
    <item>
      <p>Cree unha base de datos <code>local</code> para as preferencias a nivel de máquina en <file>/etc/dconf/db/local.d/00-extensions</file>:</p>
      <listing>
        <code>
[org/gnome/shell]
# Mostra todas as extensións que quere activar para todos os usuarios
enabled-extensions=['<input>myextension1@myname.example.com</input>', '<input>myextension2@myname.example.com</input>']
</code>
      </listing>
      <p>The <code>enabled-extensions</code> key specifies the enabled
      extensions using the extensions’ uuid
      (<code>myextension1@myname.example.com</code> and
      <code>myextension2@myname.example.com</code>).</p>
    </item>
    <item xmlns="http://projectmallard.org/1.0/" xml:id="dconf-update">
    <p>Actualizar a base de datos do sistema:</p>
    <screen><output style="prompt"># </output><input>dconf update</input></screen>
  </item>
  </steps>

</page>
