<?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="dconf-keyfiles" xml:lang="eu">

  <info>
    <link type="guide" xref="setup"/>
    <link type="seealso" xref="dconf"/>
    <link type="seealso" xref="dconf-profiles"/>
    <revision pkgversion="3.30" date="2019-02-08" status="review"/>

    <credit type="author copyright">
      <name>Ryan Lortie</name>
      <email>desrt@desrt.ca</email>
      <years>2012</years>
    </credit>
    <credit type="author">
      <name>Aruna Sankaranarayanan</name>
      <email>aruna.evam@gmail.com</email>
    </credit>
    <credit type="editor">
      <name>Petr Kovar</name>
      <email>pknbe@volny.cz</email>
      <years>2019</years>
    </credit>

    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>

    <desc>Erabili <sys its:translate="no">dconf</sys> <em>gako-fitxategiak</em> ezarpen zehatzak testu-editore baten bidez konfiguratzeko.</desc>
  </info>

  <title>Kontrolatu sistema-ezarpenak gako-fitxategiekin</title>

  <p>Sistemaren datu-baseko fitxategiak, <file its:translate="no">/etc/dconf/db</file> kokalekuan daudenak, ezin dira editatu, GVDB formatuan idatzita baitaude. Sistemaren ezarpenak testu-editore batekin aldatzeko, moldatu <em>gako-fitxategien direktorioetan</em> dauden <em>gako-fitxategiak</em>. Gako-fitxategien direktorio bakoitza sistemaren datu-baseko fitxategi bati dagokio, eta datu-baseko fitxategiaren izen bera du, baina “.d” luzapena erantsita (adibidez, <file>/etc/dconf/db/local.d</file>). Gako-fitxategien direktorio guztiak <file its:translate="no">/etc/dconf/db</file> kokalekuan daude, eta haietako bakoitzak <sys its:translate="no">dconf</sys> datu-basean konpilatu daitekeen formatu berezi batean dituzte gako-fitxategi horiek.</p>

  <listing>
    <title>Direktorio honetako gako-fitxategi batek honako itxura izango du:</title>
      <code>
# Gure gunerako ezarpen lehenetsi erabilgarri batzuk

[system/proxy/http]
host='172.16.0.1'
enabled=true

[org/gnome/desktop/background]
picture-uri='file:///usr/local/enpresaren-izena/enpresaren-atzeko-planoa.jpeg'
      </code>
  </listing>

  <note style="important">
    <p><cmd>dconf update</cmd> must be run whenever you modify a keyfile.
    When you do this, <sys its:translate="no">dconf</sys> compares the
    timestamp on a system database file with the timestamp on the corresponding
    keyfile directory. If the timestamp on the keyfile directory is more
    recent than the one on the database file,
    <sys its:translate="no">dconf</sys> regenerates the
    <code>system-db</code> file and sends a notification to the system
    <sys>D-Bus</sys>, which in turn notifies all running applications to
    reread their settings.</p>
  </note>

  <p>The group name in the keyfile references a
  <link href="https://developer.gnome.org/GSettings/">GSettings schema ID</link>.
  For example, <code>org/gnome/desktop/background</code> references the
  schema <code>org.gnome.desktop.background</code>, which contains the key
  <code>picture-uri</code>.</p>

  <p>Taldeetako balioak <link href="https://developer.gnome.org/glib/stable/gvariant-text.html">GVariant forma serializatuan</link> egotea espero da.</p>

</page>
