[gnome-user-docs] Review locdown-file-saving page



commit beb19b15fd11b09111a893c317191e233f744ea7
Author: Ekaterina Gerasimova <kittykat3756 gmail com>
Date:   Thu Dec 4 19:13:33 2014 +0000

    Review locdown-file-saving page
    
    Remove whitespace. Improve style and indentation. Improve language. Make
    it clearer that the feature is pretty useless as most applications don't
    support it. Use consistent language with other pages.

 system-admin-guide/C/lockdown-file-saving.page |   87 +++++++++++++++---------
 1 files changed, 54 insertions(+), 33 deletions(-)
---
diff --git a/system-admin-guide/C/lockdown-file-saving.page b/system-admin-guide/C/lockdown-file-saving.page
index b27866c..fa5ba55 100644
--- a/system-admin-guide/C/lockdown-file-saving.page
+++ b/system-admin-guide/C/lockdown-file-saving.page
@@ -5,57 +5,78 @@
 
   <info>
     <link type="guide" xref="user-settings#lockdown"/>
-    <revision pkgversion="3.11" date="2014-10-14" status="draft"/>
     <link type="seealso" xref="dconf-lockdown" />
-    
+    <revision pkgversion="3.11" date="2014-10-14" status="candidate"/>
+
     <credit type="author copyright">
       <name>Jana Svarova</name>
       <email its:translate="no">jana svarova gmail com</email>
       <years>2014</years>
     </credit>
+    <credit type="author copyright">
+      <name>Ekaterina Gerasimova</name>
+      <email its:translate="no">kittykat3756 gmail com</email>
+      <years>2014</years>
+    </credit>
     
-   <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
+    <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
         
-    <desc>Prevent applications from saving files on disk.</desc>
+    <desc>Prevent the user from saving files to disk.</desc>
   </info>
   
-  <title>Disable file saving on disk</title>
-  <p>Prevent applications from file saving by locking down the
-  <code>org.gnome.desktop.lockdown.disable-save-to-disk</code> key.</p>
+  <title>Disable file saving</title>
+
+  <p>You can disable the <gui>Save</gui> and <gui>Save As</gui> dialogs. This
+  can be useful if you are giving temporary access to a user or you do not want
+  the user to save files to the computer.</p>
+
+  <note style="warning">
+    <p>This feature will only work in applications which support it! Not all
+    GNOME and third party applications have this feature enabled. These changes
+    will have no effect on applications which do not support this feature.</p>
+  </note>
 
   <steps>
-    <title>Lock down the org.gnome.desktop.lockdown.disable-save-to-disk key</title>
-    <item>
-      <p>Create the <code>user</code> profile in
-      <file>/etc/dconf/profile/user</file> unless it already exists:</p>
-<screen>
-user-db:user
-system-db:local
-</screen>
-    </item>
+    <title>Disable file saving</title>
+    <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
-      the <file>/etc/dconf/db/local.d/00-lockdown</file> file.</p>
-<screen>
+      <p>Create the key file
+      <file>/etc/dconf/db/local.d/00-filesaving</file> to provide
+      information for the <sys>local</sys> database.</p>
+      <listing>
+        <title><file>/etc/dconf/db/local.d/00-filesaving</file></title>
+<code>
+# Specify the dconf path
 [org/gnome/desktop/lockdown]
 
 # Prevent the user from saving files on disk
 disable-save-to-disk=true
-</screen>
-   </item>
-   <item>
-      <p>Override the user's setting and prevent the user from changing it in
-      <file>/etc/dconf/db/local.d/locks/lockdown</file>:</p>
-<screen>
-# Lock this key to disable saving files on disk
+</code>
+     </listing>
+    </item>
+    <item>
+      <p>To prevent the user from overriding these settings, create the file
+      <file>/etc/dconf/db/local.d/locks/filesaving</file> with the following
+      content:</p>
+      <listing>
+        <title><file>/etc/dconf/db/local.db/locks/filesaving</file></title>
+<code>
+# Lock file saving settings
 org.gnome.desktop.lockdown.disable-save-to-disk
-</screen>
+</code>
+      </listing>
     </item>
-        <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-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>
-    <p>Having followed these steps, applications supporting this lockdown key,
-    for example <app>Videos</app>, <app>Image Viewer</app>, <app>Evolution</app>,
-    <app>Document Viewer</app>, or <app>GNOME Shell</app> will disable their "Save As" dialogs.</p>
+
 </page>


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