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

  <info>
    <link type="guide" xref="setup"/>
    <link type="seealso" xref="dconf-custom-defaults"/>
    <link type="seealso" xref="dconf"/>
    <revision pkgversion="3.30" date="2019-02-22" status="incomplete"/>

    <credit type="author copyright">
      <name>Ryan Lortie</name>
      <email>desrt@desrt.ca</email>
      <years>2012</years>
    </credit>
    <credit type="editor">
      <name>Jana Švárová</name>
      <email>jana.svarova@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>Profilei eta profil-hautapenari buruzko informazio xehea.</desc>
  </info>

  <title>Profilak</title>

  <p><em>Profil</em> bat konfigurazioko datu-baseen zerrenda bat da. Profil bateko lehen datu-basea idazgarria da eta gainerako datu-baseak irakurtzeko soilik dira. Sistemaren datu-baseak gako-fitxategien direktorio batetik abiatuz sortzen dira. Gako-fitxategien direktorio bakoitzak gako-fitxategi bat edo gehiago ditu. Gako-fitxategi bakoitzak gutxienez dconf bide-izen bat eta gako bat edo gehiago eta haiei dagozkien balioak ditu.</p>

  <p><sys>dconf</sys> <em>profil</em> batean ezarrita dauden gako-bikoteek ezarpen lehenetsiak indargabetuko dituzte, ezarri duzun balioan arazoren bat dagoenean salbu.</p>

  <p>You will usually want your <sys>dconf</sys> profile to consist of a
  <em>user database</em> and at least one system database. The profile must
  list one database per line.</p>

  <p>The first line in a profile is the database that changes are written to. It
  is usually <code>user-db:<input>user</input></code>. <input>user</input> is
  the name of the user database which can normally be found in
  <file>~/.config/dconf</file>.</p>

  <p><code>system-db</code> lerro batek sistemaren datu-base bat zehazten du. Datu-base horiek <file>/etc/dconf/db/</file> direktorioan daude.</p>

  <example>
    <listing>
      <title>Adibideko profila</title>
<code its:translate="no">
user-db:user
system-db:<var>local</var>
system-db:<var>site</var>
</code>
    </listing>
  </example>

  <!-- TODO: explain the profile syntax (maybe new page) -->
  <!--TODO: explain local and site -->

  <p>Configuring a single user and multiple system databases allows for layering
  of preferences. Settings from the <code>user</code> database file take
  precedence over the settings in the <code>local</code> database file, and the
  <code>local</code> database file in turn takes precedence over the
  <code>site</code> database file.</p>

  <p>However, the order of precedence for <link xref="dconf-lockdown">locks</link>
  is reversed. Locks introduced in the <code>site</code> or <code>local</code>
  database files take priority over those present in <code>user</code>.</p>

  <note style="important">
  <p>Saio bateko <sys>dconf</sys> profila saioa hastean zehazten da. Beraz, erabiltzaileek saioa amaitu eta berriro hasi behar dute <sys>dconf</sys> erabiltzaile-profil berria esleitzeko bere saioari.</p>
  </note>

  <p>Informazio gehiagorako, ikusi <link its:translate="no" href="man:dconf(7)">
  <cmd>dconf</cmd>(7)</link> laguntza-orria.</p>

  <section id="dconf-profiles">

  <title>Hautatu profil bat</title>

  <p>Abioan, <sys>dconf-ek</sys> <sys>DCONF_PROFILE</sys> ingurune-aldagaia kontsultatzen du. Aldagaiak <file>/etc/dconf/profile/</file> fitxategira doan bide-izen erlatibo bat zehaztu dezake, edo bide-izen absolutu bat, adibidez erabiltzailearen karpeta nagusira doana.</p>

  <p>If the environment variable is set, <sys>dconf</sys> attempts to open the
  named profile and aborts if that fails. If the variable is not set,
  <sys>dconf</sys> attempts to open the profile named “user”. If that
  fails, it will fall back to an internal hard-wired configuration.</p>

  <p>Informazio gehiagorako, ikusi <link its:translate="no" href="man:dconf(7)">
  <cmd>dconf</cmd>(7)</link> laguntza-orria.</p>

  </section>

</page>
