File: configlets-druid.refentry

package info (click to toggle)
configlet 1.8
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,044 kB
  • ctags: 211
  • sloc: python: 1,417; xml: 709; makefile: 139; sh: 44
file content (281 lines) | stat: -rw-r--r-- 8,074 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" 
[
<!ENTITY % progeny-entity SYSTEM "../doctools/progeny.ent">
%progeny-entity;
]>

<!-- $Progeny: configlets-druid.refentry,v 1.7 2002/02/12 16:44:36 epg Exp $ -->

<refentry>
  <refentryinfo>
    <authorgroup>
      <author>
        <firstname>John</firstname>
        <othername role="mi">R.</othername>
        <surname>Daily</surname>
      </author>
    </authorgroup>
    <copyright>
      <year>2002</year>
      <year>2001</year>
      <holder>Progeny Linux Systems, Inc.</holder>
    </copyright>
    <date>2002-01-11</date>
  </refentryinfo>

  <refmeta>
    <refentrytitle>CONFIGLETS-DRUID</refentrytitle>
    <manvolnum>1</manvolnum>
  </refmeta>

  <refnamediv>
    <refname>configlets-druid</refname>
    <refpurpose>&gnome; front end to run configlets in a wizard-like
    manner.</refpurpose>
  </refnamediv>

  <refsynopsisdiv>
    <cmdsynopsis>
      <command>configlets-druid</command>
      <group choice="opt">
        <arg>--ask-only</arg>
        <arg>--commit-only</arg>
      </group>
      <arg choice="opt"><replaceable>configlet_dir</replaceable></arg>
    </cmdsynopsis>
  </refsynopsisdiv>

  <refsect1>
    <title>DESCRIPTION</title>

    <para>
      <command>configlets-druid</command> is a &gnome; front end to
      installed configlets.  It provides a druid interface to them,
      where each appears in a window with a Back and Next button to
      choose between them.
    </para> 

    <para>
      After the initial welcoming screen, the druid shows a list of
      the configlets that will be displayed, along with short
      descriptions of each.  Next to each configlet's name is a check
      box that is checked by default (but see below for information on
      configuring this); the user may check or uncheck any of the
      configlets shown.  The next screen after this is the first
      configlet in the list that was checked; the rest of the screens
      consist of the rest of the checked configlets, followed by a
      wrap-up screen.  If the user uses Back to return to the list and
      selects a different set of configlets, the newly checked list
      will be displayed when the user clicks Next to proceed.
    </para>

    <para>
      See
      <filename>/usr/share/doc/python-configlets/book/book.html</filename>
      or <literal>http://hackers.progeny.com/configlets/</literal> for
      more information.
    </para>
  </refsect1>

  <refsect1>
    <title>OPTIONS</title>
    <variablelist>
      <varlistentry>
        <term><option>--ask-only</option></term>
        <listitem>
          <para>
            Run the druid, but do not commit any changes to &debconf; until
            later, when run with <option>--commit-only</option>. Intended
            for use by <application>apt</application>-like tools.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term><option>--commit-only</option></term>
        <listitem>
          <para>
            Save earlier recorded values to &debconf;.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term><replaceable>configlet_dir</replaceable></term>
        <listitem>
          <para>
            Location for installed configlets. Defaults to
            <filename>/usr/share/configlets/</filename>.
          </para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1>
    <title>CONFIGURATION</title>

    <para>
    <command>configlets-druid</command> can use a configuration file,
    located at <filename>/etc/configlets-druid.cfg</filename>.  This
    file can contain blank lines and comment lines that start with a
    '#' character (which are ignored) and item-value pairs, one per
    line, with whitespace separating the item and value.  (The value
    can contain whitespace.)  For some items, no value is necessary;
    in those cases, it can be omitted.
    </para>

    <para>
    The following configuration items are recognized:
    </para>

    <variablelist>

      <varlistentry>
        <term><option>cancelable</option></term>
	<listitem>
	  <para>
	  Turn on the Cancel button on the druid.  The default is to
	  turn the Cancel button off.
	  </para>
	</listitem>
      </varlistentry>

      <varlistentry>
        <term><option>debug</option></term>
	<listitem>
	  <para>
	  Cause the druid and the configlets to print large amounts of
	  debugging information to standard error.
	  </para>
	</listitem>
      </varlistentry>

      <varlistentry>
        <term><option>dont_show_required_configlets</option></term>
	<listitem>
	  <para>
	  If a configlet is listed as required (see the
	  <option>required_configlets</option> item below), then it is
	  displayed with "(mandatory)" added to its description, and
	  its checkbox cannot be unchecked.  If this item is
	  specified, then required configlets will not be shown in the
	  first screen at all.
	  </para>
	</listitem>
      </varlistentry>

      <varlistentry>
        <term><option>gtkrc</option></term>
	<listitem>
	  <para>
	  Provides a path to a custom gtkrc for the druid.  By
	  default, the gtkrc from the Raleigh theme is used if
	  available, or no gtkrc if it is not.
	  </para>
	</listitem>
      </varlistentry>

      <varlistentry>
        <term><option>logo</option></term>
	<listitem>
	  <para>
	  Provides the path to the logo to load into the druid's logo
	  space.  If not specified, this defaults to a Debian logo.
	  </para>
	</listitem>
      </varlistentry>

      <varlistentry>
        <term><option>omit_configlets</option></term>
	<listitem>
	  <para>
	  Configlets whose names appear in this space-separated list
	  are omitted from the druid entirely and are not shown.
	  </para>
	</listitem>
      </varlistentry>

      <varlistentry>
        <term><option>required_configlets</option></term>
	<listitem>
	  <para>
	  Configlets whose names appear in this space-separated list
	  are considered "required".  This means that they are
	  displayed with "(mandatory)" added to their descriptions,
	  and their check boxes are checked and set insensitive (so
	  that the user cannot uncheck the box).
	  </para>
	</listitem>
      </varlistentry>

      <varlistentry>
        <term><option>show_only_listed_configlets</option></term>
	<listitem>
	  <para>
	  By default, the druid loads and shows all of the configlets
	  it finds, subject to exceptions.  If this item is given,
	  only configlets explicitly mentioned in the configuration
	  file are loaded and shown.
	  </para>
	</listitem>
      </varlistentry>

      <varlistentry>
        <term><option>standard_configlets</option></term>
	<listitem>
	  <para>
	  This item is ignored unless
	  <option>show_only_listed_configlets</option> is also given.
	  In that case, it consists of a space-separated list of
	  configlets that are to be shown in the normal way.
	  </para>
	</listitem>
      </varlistentry>

      <varlistentry>
        <term><option>unchecked_configlets</option></term>
	<listitem>
	  <para>
	  Configlets whose names appear in this space-separated list
	  are displayed with their check boxes unchecked by default.
	  </para>
	</listitem>
      </varlistentry>

    </variablelist>

  </refsect1>

  <refsect1>
    <title>FILES</title>

    <variablelist>
      <varlistentry>
        <term><filename>/usr/share/configlets</filename></term>
        <listitem>
          <para>
	  The location from which all configlets are loaded.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term><filename>/etc/configlets-druid.cfg</filename></term>
        <listitem>
          <para>
	  The configuration file.
	  </para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1>
    <title>AUTHORS</title>

    <para>
      Jeff Licquia &lt;<email>jlicquia@progeny.com</email>&gt;
    </para>
    <para>
      Eric Gillespie, Jr. &lt;<email>epg@progeny.com</email>&gt;
    </para>
  </refsect1>
</refentry>