[gnome-user-docs/wip/system-admin-guide-20130514: 1/20] Updated automatic-logout.page added



commit 0a5433c3bcdbb534cc55d08b4ef78e28522ab8a8
Author: Jana Svarova <jsvarova redhat com>
Date:   Thu Apr 4 15:06:02 2013 +0200

    Updated automatic-logout.page added

 system-admin-guide/C/automatic-logout.page |   75 ++++++++++++++++++++++++++++
 1 files changed, 75 insertions(+), 0 deletions(-)
---
diff --git a/system-admin-guide/C/automatic-logout.page b/system-admin-guide/C/automatic-logout.page
new file mode 100644
index 0000000..2870f55
--- /dev/null
+++ b/system-admin-guide/C/automatic-logout.page
@@ -0,0 +1,75 @@
+<page xmlns="http://projectmallard.org/1.0/";
+      type="topic" style="task"
+      id="automatic-logout">
+
+<info>
+ 
+  <revision version="0.1" date="2013-03-19" status="draft"/>
+  <link type="guide" xref="index" group="net" />
+    <credit type="author copyright">
+      <name>Jana Svarova</name>
+      <email>jana svarova gmail com</email>
+      <years>2013</years>
+    </credit>
+  <desc>How to end user sessions after a period of idle, or forcibly.</desc>
+
+</info>
+
+<title>Automatic logout</title>
+  <p>GNOME can optionally force an automatic logout of users after being 
+  idle for a certain amount of time. This feature is exposed through 
+  GSettings.</p>
+
+  <p>GSettings is an <app>API</app> that allows you to access key/value pairs 
+  (e.g.: persistent application settings) without directly talking to the actual
+  <sys>backend</sys> that stores that data (config files, gconf, dconf).</p>
+  
+  <p>To configure an end of user sessions after X seconds of idle, 
+  key/value pairs need to be changed. Here are four examples explaining
+  how to set your battery or alternating current (AC) values.</p>
+
+<steps>
+<title>Sleep timeout when the computer is on battery:</title>
+  <item><p>Open the terminal.</p></item>
+  <item><p>Run the <code>gsettings set 
org.gnome.settings-daemon.plugins.power.sleep-battery-timeout=<var>number-of-seconds</var></code> 
+  command.</p></item>
+</steps>
+ 
+  <p><var>number-of-seconds</var> is the amount of time in seconds the computer 
+  on battery power needs to be inactive before it goes to sleep.
+  A value of 0 means <em>never</em>.</p>
+
+<steps>
+  <title>The type of sleeping that should be performed when the computer is 
+  inactive:</title>
+  <item><p>Open the terminal.</p></item>
+  <item><p>Run the <code>gsettings set 
org.gnome.settings-daemon.plugins.power.sleep-battery-type=<var>interactive</var></code> 
+  command.</p></item>
+</steps>
+
+  <p>This command sets whether to <var>hibernate</var>, <var>suspend</var> or do nothing when the 
+  computer is inactive and on battery. The default settings is <var>suspend</var>.</p>
+
+<steps>
+  <title>Sleep timeout when the computer is on AC:</title>
+  <item><p>Open the terminal.</p></item>
+  <item><p>Run the 
<code>org.gnome.settings-daemon.plugins.power.sleep-ac-timeout=<var>number-of-seconds</var></code> 
+  command.</p></item>
+</steps>
+
+  <p>Again, <var>number-of-seconds</var> is the amount of time in seconds the 
+  computer on AC power needs to be inactive before it goes to sleep. 
+  A value of 0 means <em>never</em>.</p>
+
+<steps>
+  <title>The type of sleeping that should be performed when the computer is 
+  inactive:</title>
+  <item><p>Open the terminal.</p></item>
+  <item><p>Run the <code>org.gnome.settings-daemon.plugins.power.sleep-ac-type=<var>interactive</var></code> 
+  command.</p></item>
+</steps>
+
+  <p>This command sets whether to <var>hibernate</var>, <var>suspend</var> or do nothing when inactive 
+  and when on AC. The default settings is <var>suspend</var>.</p>
+
+</page>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]