<?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" lang="nl">

  <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>Laat het scherm automatisch vergrendelen zodat de gebruiker na een periode van inactiviteit een wachtwoord dient in te voeren.</desc>
  <credit type="translator copyright"><name>Nathan Follens</name><email>nfollens@gnome.org</email><years>2022.</years></credit></info>

  <title>Het scherm vergrendelen wanneer de gebruiker niet actief is</title>

  <p>You can make the screen lock automatically whenever the user
  is idle for some amount of time. This is useful if users
  may leave their computers unattended in public or unsecure
  locations.</p>

  <steps>
    <title>Automatische schermvergrendeling inschakelen</title>
    <item xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" xml:id="dconf-profile-user">
    <p>Maak het profiel <file its:translate="no">user</file> aan met de volgende regels:</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> is de naam van een <sys its:translate="no" xref="dconf">dconf</sys>-database.</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>Create the key file
      <file>/etc/dconf/db/local.d/00-screensaver</file> to provide
      information for the <sys>local</sys> database.</p>
      <listing>
      <title><file>/etc/dconf/db/local.d/00-screensaver</file></title>
<code>
# Specify the dconf path
[org/gnome/desktop/session]

# Number of seconds of inactivity before the screen goes blank
# Set to 0 seconds if you want to deactivate the screensaver.
idle-delay=uint32 180

# Specify the dconf path
[org/gnome/desktop/screensaver]

# Number of seconds after the screen is blank before locking the screen
lock-delay=uint32 0
</code>
      </listing>
      <p>You must include the <code>uint32</code> along with the
      integer key values as shown.</p>
    </item>
    <item>
      <p>To prevent the user from overriding these settings, create the file
      <file>/etc/dconf/db/local.d/locks/screensaver</file> with the following
      content:</p>
      <listing>
      <title><file>/etc/dconf/db/local.d/locks/screensaver</file></title>
<code>
# Lock desktop screensaver settings
/org/gnome/desktop/session/idle-delay
/org/gnome/desktop/screensaver/lock-delay
</code>
      </listing>
    </item>
    <item xmlns="http://projectmallard.org/1.0/" xml:id="dconf-update">
    <p>Werk de systeemdatabases bij:</p>
    <screen><output style="prompt"># </output><input>dconf update</input></screen>
  </item>
    <item xmlns="http://projectmallard.org/1.0/" xml:id="dconf-logoutin">
    <p>Gebruikers moeten zich af- en weer aanmelden om de systeembrede instellingen door te voeren.</p>
  </item>
  </steps>

</page>
