<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Lock the screen when the user is idle</title>
<link rel="stylesheet" type="text/css" href="../pintail-mallard-tr.css">
<script type="text/javascript" src="../highlight.pack.js"></script><script>
document.addEventListener('DOMContentLoaded', function() {
  var matches = document.querySelectorAll('code.syntax')
  for (var i = 0; i < matches.length; i++) {
    hljs.highlightBlock(matches[i]);
  }
}, false);</script><script type="text/javascript" src="../yelp.js"></script>
</head>
<body lang="tr" dir="ltr">
<header class="gnome-header"><nav><div class="pagewide">
<a id="home-link" class="gnome-navbar-brand" href="../index.html" title="Go to home page"><h1>GNOME Help</h1></a><details class="gnome-langs gnome-langs-wide"><summary title="Change language" aria-label="Change language"><span class="gnome-langs-current">tr</span></summary><ul>
<li><a href="desktop-lockscreen.html.ca">català</a></li>
<li><a href="desktop-lockscreen.html.cs">čeština</a></li>
<li><a href="desktop-lockscreen.html.de">Deutsch</a></li>
<li><a href="desktop-lockscreen.html">English</a></li>
<li><a href="desktop-lockscreen.html.es">español</a></li>
<li><a href="desktop-lockscreen.html.eu">euskara</a></li>
<li><a href="desktop-lockscreen.html.fr">français</a></li>
<li><a href="desktop-lockscreen.html.gl">galego</a></li>
<li><a href="desktop-lockscreen.html.hr">hrvatski</a></li>
<li><a href="desktop-lockscreen.html.id">Indonesia</a></li>
<li><a href="desktop-lockscreen.html.it">italiano</a></li>
<li><a href="desktop-lockscreen.html.hu">magyar</a></li>
<li><a href="desktop-lockscreen.html.nl">Nederlands</a></li>
<li><a href="desktop-lockscreen.html.pt_BR">português (Brasil)</a></li>
<li><a href="desktop-lockscreen.html.sv">svenska</a></li>
<li><a href="desktop-lockscreen.html.tr" aria-current="true">Türkçe</a></li>
<li><a href="desktop-lockscreen.html.ru">русский</a></li>
<li><a href="desktop-lockscreen.html.uk">українська</a></li>
<li><a href="desktop-lockscreen.html.kk">қазақ тілі</a></li>
<li><a href="desktop-lockscreen.html.fa" dir="rtl">فارسی</a></li>
<li><a href="desktop-lockscreen.html.ko">한국어</a></li>
</ul></details>
</div></nav></header><main><aside class="sidebar sidebar-left"><div class="sidebar-contents"><div class="inner">
<div class="title"><h2><span class="title">İçerik</span></h2></div>
<div class="region"><div class="contents"><ul>
<li class="links"><a href="../system-admin-guide/index.html.tr" title="GNOME System Administration Guide">GNOME System Administration Guide</a></li>
<li class="links"><a href="../system-admin-guide/setup.html.tr" title="Setup">Setup</a></li>
<li class="links"><a href="../system-admin-guide/appearance.html.tr" title="Appearance">Appearance</a></li>
<li class="links"><a href="../system-admin-guide/login.html.tr" title="Login">Login</a></li>
<li class="links"><a href="../system-admin-guide/network.html.tr" title="Network &amp; hardware">Network &amp; hardware</a></li>
<li class="links"><a href="../system-admin-guide/software.html.tr" title="Software">Software</a></li>
<li class="links"><a href="../system-admin-guide/user-settings.html.tr" title="User settings">User settings</a></li>
<li class="links"><a href="../system-admin-guide/sundry.html.tr" title="Other">Other</a></li>
</ul></div></div>
</div></div></aside><aside class="sidebar sidebar-right"></aside><div class="page">
<header><div class="inner pagewide"><div class="trails" role="navigation"><div class="trail">
<a class="trail" href="../index.html">GNOME</a> » <a class="trail" href="../system-admin-guide/index.html.tr" title="GNOME System Administration Guide">System Administration Guide</a> » <a class="trail" href="../system-admin-guide/appearance.html.tr" title="Appearance">Appearance</a> » </div></div></div></header><article><div class="hgroup pagewide"><h1 class="title"><span class="title">Lock the screen when the user is idle</span></h1></div>
<div class="region">
<div class="contents pagewide">
<p class="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>
<div class="steps"><div class="inner">
<div class="title title-steps"><h2><span class="title">Enable automatic screen lock</span></h2></div>
<div class="region"><ol class="steps">
<li class="steps">
<p class="p">Create the <span class="file">user</span> profile which contains
    the following lines:</p>
<div class="listing"><div class="inner">
<div class="title title-listing"><h2><span class="title"><span class="file">/etc/dconf/profile/user</span></span></h2></div>
<div class="region"><div class="contents"><div class="code"><pre class="contents"><code>user-db:user
system-db:local</code></pre></div></div></div>
</div></div>
<p class="p"><span class="input">local</span> is the name of a
    <span class="sys"><a href="../system-admin-guide/dconf.html.tr" title="Manage user and system settings with dconf">dconf</a></span> database.</p>
</li>
<li class="steps"><p class="p">Create the directory <span class="file">/etc/dconf/db/local.d/</span>
    if it does not already exist.</p></li>
<li class="steps">
<p class="p">Create the key file
      <span class="file">/etc/dconf/db/local.d/00-screensaver</span> to provide
      information for the <span class="sys">local</span> database.</p>
<div class="listing"><div class="inner">
<div class="title title-listing"><h2><span class="title"><span class="file">/etc/dconf/db/local.d/00-screensaver</span></span></h2></div>
<div class="region"><div class="contents"><div class="code"><pre class="contents"><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></pre></div></div></div>
</div></div>
<p class="p">You must include the <span class="code">uint32</span> along with the
      integer key values as shown.</p>
</li>
<li class="steps">
<p class="p">To prevent the user from overriding these settings, create the file
      <span class="file">/etc/dconf/db/local.d/locks/screensaver</span> with the following
      content:</p>
<div class="listing"><div class="inner">
<div class="title title-listing"><h2><span class="title"><span class="file">/etc/dconf/db/local.d/locks/screensaver</span></span></h2></div>
<div class="region"><div class="contents"><div class="code"><pre class="contents"><code># Lock desktop screensaver settings
/org/gnome/desktop/session/idle-delay
/org/gnome/desktop/screensaver/lock-delay</code></pre></div></div></div>
</div></div>
</li>
<li class="steps">
<p class="p">Update the system databases:</p>
<div class="screen"><pre class="contents"><code><span class="prompt output"># </span><span class="input">dconf update</span></code></pre></div>
</li>
<li class="steps"><p class="p">Users must log out and back in again before the system-wide
    settings take effect.</p></li>
</ol></div>
</div></div>
</div>
<section class="links" role="navigation"><div class="inner">
<div class="hgroup pagewide"></div>
<div class="contents pagewide">
<div class="links guidelinks"><div class="inner">
<div class="title"><h2><span class="title">Daha Çok Bilgi</span></h2></div>
<div class="region"><ul><li class="links ">
<a href="../system-admin-guide/appearance.html.tr" title="Appearance">Appearance</a><span class="desc"> — 
      <span class="link"><a href="../system-admin-guide/desktop-shield.html.tr" title="Change the lock screen shield">Change the lock screen shield</a></span>,
      <span class="link"><a href="../system-admin-guide/desktop-favorite-applications.html.tr" title="Set default favorite applications">default favorite
      applications</a></span>,
      <span class="link"><a href="../system-admin-guide/desktop-lockscreen.html.tr" title="Lock the screen when the user is idle">lock the screen when idle</a></span>…
    </span>
</li></ul></div>
</div></div>
<div class="links seealsolinks"><div class="inner">
<div class="title"><h2><span class="title">Ayrıca Bakınız</span></h2></div>
<div class="region"><ul>
<li class="links ">
<a href="../system-admin-guide/dconf-lockdown.html.tr" title="Lock down specific settings">Lock down specific settings</a><span class="desc"> — Use the <span class="em">lockdown</span> mode in <span class="sys">dconf</span>
    to prevent users from changing specific settings.</span>
</li>
<li class="links ">
<a href="../system-admin-guide/dconf-profiles.html.tr" title="Profiles">Profiles</a><span class="desc"> — Detailed information about profile and profile selection.</span>
</li>
</ul></div>
</div></div>
</div>
</div></section>
</div>
<div class="clear"></div></article><footer><div class="inner pagewide"><div class="about ui-expander" role="contentinfo">
<div class="yelp-data yelp-data-ui-expander" data-yelp-expanded="false"></div>
<div class="inner">
<div class="hgroup"><h2><span class="title">Hakkında</span></h2></div>
<div class="region"><div class="contents">
<div class="copyrights"><div class="copyright">© 2013 Jana Svarova</div></div>
<div class="credits">
<div class="credits-authors">
<div class="title"><span class="title">Yazan(lar):</span></div>
<ul class="credits"><li>Jana Svarova</li></ul>
</div>
<div class="credits-editors">
<div class="title"><span class="title">Düzenleyen(ler):</span></div>
<ul class="credits">
<li>Shaun McCance</li>
<li>Petr Kovar</li>
</ul>
</div>
<div class="credits-blank"></div>
<div class="credits-blank"></div>
</div>
</div></div>
</div>
</div></div></footer>
</div></main>
</body>
</html>
