<?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-custom-defaults" lang="hr">

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

    <credit type="author copyright">
      <name>Ryan Lortie</name>
      <email>desrt@desrt.ca</email>
      <years>2012</years>
    </credit>
    <credit type="author copyright">
      <name>Jeremy Bicha</name>
      <email>jbicha@ubuntu.com</email>
      <years>2012</years>
    </credit>
    <credit type="author copyright">
      <name>Jim Campbell</name>
      <email>jwcampbell@gmail.com</email>
      <years>2012</years>
    </credit>
    <credit type="editor">
      <name>Jana Svarova</name>
      <email>jana.svarova@gmail.com</email>
      <years>2013</years>
    </credit>
    <credit type="copyright editor">
      <name>Ekaterina Gerasimova</name>
      <email>kittykat3756@gmail.com</email>
      <years>2013</years>
    </credit>
    <credit type="editor">
      <name>Petr Kovar</name>
      <email>pknbe@volny.cz</email>
      <years>2019</years>
    </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>Postavljanje zadanih postavki za cijeli sustav koristeći <sys its:translate="no">dconf</sys> profile.</desc>

  </info>

  <title>Prilagođene zadane vrijednosti za postavke sustava</title>

  <p>Zadane postavke za cijeli sustav mogu se postaviti davanjem zadane vrijednosti za ključ u <sys its:translate="no">dconf</sys> profilu. Korisnik može zaobići te zadane vrijednosti.</p>

<section id="example">
  <title>Postavljanje zadane postavke</title>

  <p>Kako bi postavili zadanu vrijednost za ključ, <sys>korisnički</sys> profil mora postojati i vrijednost za ključ mora biti dodana <sys its:translate="no">dconf</sys> bazi podataka.</p>

  <steps>
    <title>Primjer postavljanja zadane pozadine</title>
    <item>
      <p>Stvorite <file its:translate="no">user</file> profil:</p>
      <listing its:translate="no">
        <title><file>/etc/dconf/profile/user</file></title>
<code>
user-db:user
system-db:local
</code>
      </listing>
      <p><input its:translate="no">local</input> je naziv <sys its:translate="no">dconf</sys> baze podataka.</p>
    </item>
    <item>
      <p>Stvorite <em>datoteku ključa</em> za <input its:translate="no">local</input> bazu podataka koja sadrži zadane postavke:</p>
      <listing its:translate="no">
        <title><file>/etc/dconf/db/local.d/01-background</file></title>
<code>
# <span its:translate="yes">dconf putanja</span>
[org/gnome/desktop/background]

# <span its:translate="yes">nazivi dconf ključeva i njihove odgovarajuće vrijednosti</span>
picture-uri='file:///usr/local/share/backgrounds/wallpaper.jpg'
picture-options='scaled'
primary-color='000000'
secondary-color='FFFFFF'
</code>
      </listing>
    </item>
    <item xmlns="http://projectmallard.org/1.0/" xml:id="dconf-update">
    <p>Nadopunite bazu podataka sustava:</p>
    <screen><output style="prompt"># </output><input>dconf update</input></screen>
  </item>
  </steps>

  <note>
    <p>Kada je <sys its:translate="no">user</sys> profil stvoren ili promijenjen, korisnik će se morati odjaviti i ponovno prijaviti kako bi se promjene primijene.</p>
  </note>

  <p>Ako želite izbjeći stvaranje <sys its:translate="no">user</sys> profila , možete koristiti <cmd>dconf</cmd> pomagalo naredbenog retka za čitanje i pisanje pojedinačnih vrijednosti ili cijelih direktorija iz i u <sys its:translate="no">dconf</sys> bazu podataka. Za više informacija pogledajte <link its:translate="no" href="man:dconf"><cmd>dconf</cmd>(1)</link> stranicu priručnika.</p>

</section>

</page>
