1<?xml version="1.0" encoding="utf-8"?>
2<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="desktop-background" xml:lang="tr">
3
4  <info>
5    <link type="guide" xref="appearance"/>
6    <link type="seealso" xref="backgrounds-extra"/>
7    <revision pkgversion="3.11" date="2014-01-29" status="draft"/>
8    <revision pkgversion="3.14" date="2014-06-17" status="incomplete">
9      <desc>All prose and instructions are up to par. Extra info needs
10      to be provided on picture options, per comment below. --shaunm</desc>
11    </revision>
12
13    <credit type="author copyright">
14      <name>Matthias Clasen</name>
15      <email>matthias.clasen@gmail.com</email>
16      <years>2012</years>
17    </credit>
18    <credit type="editor">
19      <name>Jana Svarova</name>
20      <email>jana.svarova@gmail.com</email>
21      <years>2013</years>
22    </credit>
23    <credit type="editor">
24      <name>Petr Kovar</name>
25      <email>pknbe@volny.cz</email>
26      <years>2014</years>
27    </credit>
28    <credit type="editor">
29      <name>David King</name>
30      <email>davidk@gnome.org</email>
31      <years>2014</years>
32    </credit>
33    <credit type="editor">
34      <name>Ekaterina Gerasimova</name>
35      <email>kittykat3756@gmail.com</email>
36      <years>2014</years>
37    </credit>
38
39    <desc>Change the default desktop background for all users.</desc>
40  </info>
41
42  <title>Set custom background</title>
43
44  <p>You can change the default desktop background to one that you want to use.
45  For example, you may want to use a background with your company or university
46  logo instead of the default GNOME background.</p>
47
48  <steps>
49    <title>Set the default background</title>
50    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-profile-user'])"/>
51    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-profile-user-dir'])"/>
52    <item>
53      <p>Create the key file
54      <file>/etc/dconf/db/local.d/00-background</file> to provide
55      information for the <sys>local</sys> database.</p>
56      <listing>
57        <title><file>/etc/dconf/db/local.d/00-background</file></title>
58<code>
59# Specify the dconf path
60[org/gnome/desktop/background]
61
62# Specify the path to the desktop background image file
63picture-uri='file:///usr/local/share/backgrounds/wallpaper.jpg'
64
65# Specify one of the rendering options for the background image:
66picture-options='scaled'
67
68# Specify the left or top color when drawing gradients, or the solid color
69primary-color='000000'
70
71# Specify the right or bottom color when drawing gradients
72secondary-color='FFFFFF'
73</code>
74      </listing>
75    </item>
76    <item>
77      <p>To prevent the user from overriding these settings, create the file
78      <file>/etc/dconf/db/local.d/locks/background</file> with the following
79      content:</p>
80      <listing>
81        <title><file>/etc/dconf/db/local.d/locks/background</file></title>
82<code>
83# Lock desktop background settings
84/org/gnome/desktop/background/picture-uri
85/org/gnome/desktop/background/picture-options
86/org/gnome/desktop/background/primary-color
87/org/gnome/desktop/background/secondary-color
88</code>
89      </listing>
90    </item>
91    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-update'])"/>
92    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-logoutin'])"/>
93  </steps>
94
95</page>
96