<?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="desktop-background" lang="hr">

  <info>
    <link type="guide" xref="appearance"/>
    <link type="seealso" xref="backgrounds-extra"/>
    <revision pkgversion="3.11" date="2014-01-29" status="draft"/>
    <revision pkgversion="3.14" date="2014-06-17" status="incomplete">
      <desc>Sve proze i upute su na nivou. Potrebno je navesti dodatne informacije o mogućnostima slike, po komentaru ispod. --shaunm</desc>
    </revision>

    <credit type="author copyright">
      <name>Matthias Clasen</name>
      <email>matthias.clasen@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="editor">
      <name>Petr Kovar</name>
      <email>pknbe@volny.cz</email>
      <years>2014</years>
    </credit>
    <credit type="editor">
      <name>David King</name>
      <email>davidk@gnome.org</email>
      <years>2014</years>
    </credit>
    <credit type="editor">
      <name>Ekaterina Gerasimova</name>
      <email>kittykat3756@gmail.com</email>
      <years>2014</years>
    </credit>

    <desc>Promjena zadane pozadine radne površine za sve korisnike.</desc>
  </info>

  <title>Postavljanje prilagođene pozadine</title>

  <p>Zadanu pozadinu radne površine možete promijeniti u onu koju želite koristiti. Primjerice, možda želite koristiti pozadinu s logotipom vaše tvrtke ili sveučilišta umjesto zadane GNOME pozadine.</p>

  <steps>
    <title>Postavljanje zadane pozadine</title>
    <item xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" xml:id="dconf-profile-user">
    <p>Stvorite <file its:translate="no">user</file> profil koji sadrži sljedeće retke:</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" xref="dconf">dconf</sys> baze podataka.</p>
  </item>
    <item xmlns="http://projectmallard.org/1.0/" xml:id="dconf-profile-user-dir">
    <p>Create the directory <file>/etc/dconf/db/local.d/</file>
    if it does not already exist.</p>
  </item>
    <item>
      <p>Stvorite datoteku ključa <file>/etc/dconf/db/local.d/00-background</file> kako bi pružili informacija za <sys>lokalnu</sys> bazu podataka.</p>
      <listing>
        <title><file>/etc/dconf/db/local.d/00-background</file></title>
<code>
# Navedi dconf putanju
[org/gnome/desktop/background]

# Navedi putanju do datoteke slike pozadine radne površine
picture-uri='file:///usr/local/share/backgrounds/pozadina.jpg'

# Navedi jednu od mogućnosti prikazivanja slike pozadine:
picture-options='scaled'

# Navedi lijevu ili gornju boju pri iscrtavanju gradijenta ili pune boje
primary-color='000000'

# Navedi desnu ili donju boju pri iscrtavanju gradijenata
secondary-color='FFFFFF'
</code>
      </listing>
    </item>
    <item>
      <p>Kako bi spriječili korisnika da zaobiđe ove postavke, stvorite datoteku <file>/etc/dconf/db/local.d/locks/secondary-color</file> sa sljedećim sadržajem:</p>
      <listing>
        <title><file>/etc/dconf/db/local.d/locks/background</file></title>
<code>
# Zaključavanje postavki pozadine radne površine
/org/gnome/desktop/background/picture-uri
/org/gnome/desktop/background/picture-options
/org/gnome/desktop/background/primary-color
/org/gnome/desktop/background/secondary-color
</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>
    <item xmlns="http://projectmallard.org/1.0/" xml:id="dconf-logoutin">
    <p>Korisnici se moraju odjaviti i ponovno prijaviti kako bi se primijenile postavke za cijeli sustav.</p>
  </item>
  </steps>

</page>
