<?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="power-dim-screen" xml:lang="hr">

  <info>
    <link type="guide" xref="user-settings"/>
    <link type="seealso" xref="dconf-profiles"/>
    <link type="seealso" xref="dconf-lockdown"/>
    <revision pkgversion="3.12" date="2014-06-20" status="candidate"/>

    <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>Ekaterina Gerasimova</name>
      <email>kittykat3756@gmail.com</email>
      <years>2014</years>
    </credit>

    <desc>Zatamnjenje zaslona nakon određenog vremena kada je korisnik neaktivan.</desc>
  </info>

  <title>Zatamnjenje zaslona kada je korisnik neaktivan</title>

  <p>Možete zatamniti zaslon računala nakon što je računalo neko vrijeme bilo u mirovanju (nije korišteno).</p>

  <steps>
    <title>Zatamnjenje zaslona na računalu u mirovanju</title>
    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-profile-user'])"/>
    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-profile-user-dir'])"/>
    <item>
      <p>Stvorite datoteku ključa <file>/etc/dconf/db/local.d/00-power</file> kako bi pružili informacija za <sys>lokalnu</sys> bazu podataka.</p>
      <listing>
        <title><file>/etc/dconf/db/local.d/00-power</file></title>
<code>
# Navedite dconf putanju
[org/gnome/settings-daemon/plugins/power]

# Omogućite zatamnjivanje zaslona
idle-dim=true

# Postavite svjetlinu nakon zatamnjivanja
mirovanje-svjetlina=30
</code>
      </listing>
    </item>
    <item>
      <p>Stvorite datoteku ključa <file>/etc/dconf/db/local.d/00-session</file> kako bi pružili informacija za <sys>lokalnu</sys> bazu podataka.</p>
      <listing>
        <title><file>/etc/dconf/db/local.d/00-session</file></title>
<code>
# Navedite dconf putanju
[org/gnome/desktop/session]

# Broj sekundi neaktivnosti prije nego što se sesija smatra neaktivnom
idle-delay=uint32 300
</code>
      </listing>
      <p>Morate uključiti <code>uint32</code> zajedno s vrijednostima ključa cijelog broja kao što je prikazano.</p>
    </item>
    <item>
      <p>Kako bi spriječili korisnika da zaobiđe ove postavke, stvorite datoteku <file>/etc/dconf/db/local.d/locks/power-saving</file> sa sljedećim sadržajem:</p>
      <listing>
        <title><file>/etc/dconf/db/local.db/locks/power-saving</file></title>
<code>
# Zatamnjivanje zaključanog zaslona i čekanje mirovanja
/org/gnome/settings-daemon/plugins/power/idle-dim
/org/gnome/settings-daemon/plugins/power/idle-brightness
/org/gnome/desktop/session/idle-delay
</code>
      </listing>
      <p>Ako želite korisniku dopustiti promjenu ovih postavki, preskočite ovaj korak.</p>
    </item>
    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-update'])"/>
    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-logoutin'])"/>
  </steps>

</page>
