<?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-lockscreen" xml:lang="hr">

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

    <credit type="author copyright">
      <name>Jana Svarova</name>
      <email>jana.svarova@gmail.com</email>
      <years>2013</years>
    </credit>
    <credit type="editor">
      <name>Shaun McCance</name>
      <email>shaunm@gnome.org</email>
      <years>2014</years>
    </credit>
    <credit type="editor">
      <name>Petr Kovar</name>
      <email>pknbe@volny.cz</email>
      <years>2019</years>
    </credit>

    <desc>Automatsko zaključavanje zaslona, tako da korisnik mora upisati lozinku nakon mirovanja.</desc>
  </info>

  <title>Zaključavanje zaslona kada je korisnik neaktivan</title>

  <p>Možete postaviti automatsko zaključavanje zaslona kada je korisnik određeno vrijeme neaktivan. Ovo je korisno ako korisnici ostavljaju svoja računala bez nadzora na javnim ili nesigurnim mjestima.</p>

  <steps>
    <title>Omogućavanje automatskog zaključavanja zaslona</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-screensaver</file> kako bi pružili informacija za <sys>lokalnu</sys> bazu podataka.</p>
      <listing>
      <title><file>/etc/dconf/db/local.d/00-screensaver</file></title>
<code>
# Navedi dconf putanju
[org/gnome/desktop/session]

# Broj sekundi neaktivnosti prije nego što se zaslon zatamni
# Postavite na 0 sekundi ako želite deaktivirati čuvara zaslona.
idle-delay=uint32 180

# Navedi dconf putanju
[org/gnome/desktop/screensaver]

# Broj sekundi nakon što se zaslon zatamni prije zaključavanja zaslona
lock-delay=uint32 0
</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/screensaver</file> sa sljedećim sadržajem:</p>
      <listing>
      <title><file>/etc/dconf/db/local.db/locks/screensaver</file></title>
<code>
# Zaključaj postavke čuvara zaslona radne površine
/org/gnome/desktop/session/idle-delay
/org/gnome/desktop/screensaver/lock-delay
</code>
      </listing>
    </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>
