[gnome-user-docs] Fix logout-automatic & power-dim-screen



commit 06e796eb80118627ff4b5b4532ba57f3f5ad03ec
Author: Petr Kovar <pkovar redhat com>
Date:   Tue Nov 25 17:40:21 2014 +0100

    Fix logout-automatic & power-dim-screen

 system-admin-guide/C/logout-automatic.page |   18 +++++++++---------
 system-admin-guide/C/power-dim-screen.page |    4 +---
 2 files changed, 10 insertions(+), 12 deletions(-)
---
diff --git a/system-admin-guide/C/logout-automatic.page b/system-admin-guide/C/logout-automatic.page
index bdf4798..ac153ff 100644
--- a/system-admin-guide/C/logout-automatic.page
+++ b/system-admin-guide/C/logout-automatic.page
@@ -43,15 +43,12 @@
 
   <steps>
     <title>Set automatic logout for a mains powered machine</title>
-    <item>
-      <p>Create a <code>user</code> profile in <file>/etc/dconf/profile/user</file>:</p>
-      <listing>
-        <code>
-user-db:user
-system-db:local
-</code>
-      </listing>
-    </item>
+    <include href="dconf-snippets.xml"
+             xpointer="xpointer(/*/*[ xml:id='dconf-profile-user'])"
+             xmlns="http://www.w3.org/2001/XInclude"/>
+    <include href="dconf-snippets.xml"
+             xpointer="xpointer(/*/*[ xml:id='dconf-profile-user-dir'])"
+             xmlns="http://www.w3.org/2001/XInclude"/>
     <item>
       <p>Create a <code>local</code> database for machine-wide settings in
       <file>/etc/dconf/db/local.d/00-autologout</file>:</p>
@@ -79,6 +76,9 @@ sleep-inactive-ac-type='logout'
     <include href="dconf-snippets.xml"
       xpointer="xpointer(/*/*[ xml:id='dconf-update'])"
       xmlns="http://www.w3.org/2001/XInclude"/>
+    <include href="dconf-snippets.xml"
+             xpointer="xpointer(/*/*[ xml:id='dconf-logoutin'])"
+             xmlns="http://www.w3.org/2001/XInclude"/>
   </steps>
 
   <!-- There will shortly be a way to get key descriptions using gsettings, we
diff --git a/system-admin-guide/C/power-dim-screen.page b/system-admin-guide/C/power-dim-screen.page
index f013961..71bdb29 100644
--- a/system-admin-guide/C/power-dim-screen.page
+++ b/system-admin-guide/C/power-dim-screen.page
@@ -61,11 +61,9 @@
 idle-dim=true
 
 # Set brightness after dimming
-idle-brightness=uint32 30
+idle-brightness=30
 </code>
       </listing>
-      <p>You must include the <code>uint32</code> along with the
-      integer key values as shown.</p>
     </item>
     <item>
       <p>Create the key file


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