[gnome-user-docs] Review desktop-background.page
- From: Ekaterina Gerasimova <egerasimov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-user-docs] Review desktop-background.page
- Date: Wed, 18 Jun 2014 22:59:40 +0000 (UTC)
commit e7fa87efe072bbc132f3c0c1900c98670498becc
Author: Ekaterina Gerasimova <kittykat3756 gmail com>
Date: Wed Jun 18 19:02:18 2014 -0400
Review desktop-background.page
system-admin-guide/C/desktop-background.page | 54 +++++++++++++++++--------
1 files changed, 37 insertions(+), 17 deletions(-)
---
diff --git a/system-admin-guide/C/desktop-background.page b/system-admin-guide/C/desktop-background.page
index e581186..1e7b76a 100644
--- a/system-admin-guide/C/desktop-background.page
+++ b/system-admin-guide/C/desktop-background.page
@@ -6,7 +6,7 @@
<info>
<link type="guide" xref="appearance" />
<revision pkgversion="3.11" date="2014-01-29" status="draft"/>
- <revision pkgversion="3.14" date="2014-06-17" status="review"/>
+ <revision pkgversion="3.14" date="2014-06-17" status="candidate"/>
<credit type="author copyright">
<name>Matthias Clasen</name>
@@ -28,50 +28,70 @@
<email its:translate="no">davidk gnome org</email>
<years>2014</years>
</credit>
+ <credit type="editor">
+ <name>Ekaterina Gerasimova</name>
+ <email its:translate="no">kittykat3756 gmail com</email>
+ <years>2014</years>
+ </credit>
- <desc>Set the default desktop background using a dconf keyfile.</desc>
+ <desc>Change the default desktop background.</desc>
</info>
- <title>Customize the default desktop background</title>
+ <title>Set custom background</title>
- <p>You can configure the default desktop background and its appearance by
- setting the relevant GSettings keys from the
- <sys>org.gnome.desktop.background</sys> schema in a dconf keyfile.</p>
+ <p>You can change the default desktop background to one that you want to use.
+ For example, you may want to use a background with your company or university
+ logo instead of the default GNOME background.</p>
<steps>
<title>Set the default background</title>
<include href="dconf-snippets.xml"
- xpointer="xpointer(/*/*[ xml:id='dconf-profile-user'])"
- xmlns="http://www.w3.org/2001/XInclude"/>
+ 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 <sys>local</sys> keyfile for machine-wide settings in
- <file>/etc/dconf/db/local.d/<var>01-background</var></file>:
- </p>
+ <p>Create the key file
+ <file>/etc/dconf/db/local.d/00-background</file> to provide
+ information for the <sys>local</sys> database.</p>
+ <listing>
+ <title><file>/etc/dconf/db/local.d/00-screensaver</file></title>
<code># Specify the dconf path
[org/gnome/desktop/background]
# Specify the path to the desktop background image file
picture-uri='file:///usr/local/share/backgrounds/wallpaper.jpg'
+
# Specify one of the rendering options for the background image:
-# 'none', 'wallpaper', 'centered', 'scaled', 'stretched', 'zoom', 'spanned'
picture-options='scaled'
+
# Specify the left or top color when drawing gradients, or the solid color
primary-color='000000'
+
# Specify the right or bottom color when drawing gradients
secondary-color='FFFFFF'</code>
+ </listing>
</item>
<item>
- <p>Optionally, override the user's setting and prevent the user from
- changing it in <file>/etc/dconf/db/local.d/locks/background</file>:</p>
- <code># List the keys used to configure the desktop background
+ <p>To prevent the user from overriding these settings, create the file
+ <file>/etc/dconf/db/local.d/locks/background</file> with the following
+ content:</p>
+ <listing>
+ <title><file>/etc/dconf/db/local.d/locks/background</file></title>
+<code># Lock desktop background settings
/org/gnome/desktop/background/picture-uri
/org/gnome/desktop/background/picture-options
/org/gnome/desktop/background/primary-color
/org/gnome/desktop/background/secondary-color</code>
+ </listing>
</item>
<include href="dconf-snippets.xml"
- xpointer="xpointer(/*/*[ xml:id='dconf-update'])"
- xmlns="http://www.w3.org/2001/XInclude"/>
+ 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>
</page>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]