[gnome-user-docs] sysadmin: Update setting default wallpaper & locked wallpaper examples



commit 5367b2c82f8238eac4752ee7ce157dda1507670e
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Mon Aug 13 17:30:20 2012 -0400

    sysadmin: Update setting default wallpaper & locked wallpaper examples

 system-admin-guide/C/dconf-profiles.page |   34 +++++++++++++++---------------
 system-admin-guide/C/lockdown.page       |   19 ++++++++++------
 2 files changed, 29 insertions(+), 24 deletions(-)
---
diff --git a/system-admin-guide/C/dconf-profiles.page b/system-admin-guide/C/dconf-profiles.page
index f5b56fa..33ffc8c 100644
--- a/system-admin-guide/C/dconf-profiles.page
+++ b/system-admin-guide/C/dconf-profiles.page
@@ -25,23 +25,23 @@
 
   <p>A key file in this directory will look something like this:</p>
 
-  <code>
-# Some useful default settings for our site
-
-[system/proxy/http]
-host='172.16.0.1'
-enabled=true
 
+<list type="numbered">
+  <title>Set the default wallpaper</title>
+  <item><p>Create a directory named <file>/etc/dconf/profile</file></p></item>
+  <item><p>Edit <file>/etc/dconf/profile/user</file></p>
+<code>
+user
+local
+</code></item>
+
+  <item><p>Create a directory named <file>/etc/dconf/db/local.d</file></p></item>
+  <item><p>Edit <file>/etc/dconf/db/local.d/00_default-wallpaper</file></p>
+<code>
 [org/gnome/desktop/background]
-picture-uri='file:///usr/local/rupert-corp/company-wallpaper.jpeg'
-  </code>
-
-  <p>After modifying any key file in one of these directories, the
-   <app>dconf update</app> tool should be run. This tool scans the
-   <file>/etc/dconf/db/</file> directory for databases with corresponding
-   <file>.d</file> directories. If the timestamp on the directory is newer than
-   the one on the file, the file is regenerated. The tool sends a notification
-   on the system D-Bus to all running applications instructing them to re-read
-   their settings.</p>
-
+picture-uri='file:///usr/local/share/backgrounds/company-wallpaper.jpg'
+</code>
+</item>
+<item><p>Run <cmd>dconf update</cmd></p></item>
+</list>
 </page>
diff --git a/system-admin-guide/C/lockdown.page b/system-admin-guide/C/lockdown.page
index 1432052..eca3a62 100644
--- a/system-admin-guide/C/lockdown.page
+++ b/system-admin-guide/C/lockdown.page
@@ -4,6 +4,7 @@
   <info>
     <revision version="0.1" date="2012-05-21" status="stub"/>
     <link type="guide" xref="index" group="user" />
+    <link type="seealso" xref="dconf-profiles" />
 
     <credit type="author copyright">
       <name>Ryan Lortie</name>
@@ -15,7 +16,7 @@
      settings</desc>
    </info>
 
-  <title>Locking down specific settings</title>
+  <title>Lock down specific settings</title>
 
   <p>Use dconf's <em>lockdown</em> to prevent users changing specific settings.
    Lockdown is supported by creating a <file>locks</file> subdirectory in the
@@ -25,14 +26,18 @@
    number of files to this directory. Here's an example of what one might look
    like:</p>
 
-  <code>
+<list type="numbered">
+  <title>How to lock the default wallpaper</title>
+  <item><p>First, <link type="seealso" xref="dconf-profiles">set a default wallpaper</link></p></item>
+<item><p>Create a directory named /etc/dconf/db/local.d/locks</p></item>
+<item><p>Edit <file>/etc/dconf/db/local.d/locks/00_default-wallpaper</file></p>
+<code>
 # prevent changes to the company wallpaper
 /org/gnome/desktop/background/picture-uri
-  </code>
-
-  <p><app>dconf update</app> needs to be run after changing the locks. The tool
-   will notice if the timestamp on the <file>locks</file> directory has changed,
-   so there is no need to touch the <file>.d</file> directory as well.</p>
+</code>
+</item>
+<item><p>Run <cmd>dconf update</cmd> as root.</p></item>
+</list>
 
   <note>
     <p>As of dconf 0.7.4, lockdown is only supported on a per-key basis for



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