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
|
Configlets
==========
This is the configlet package designed by Progeny Linux Systems for
Progeny Debian 1.0 and enhanced for Debian 3.0 (woody).
Introduction
------------
The debconf system, while very useful, is forced by design to provide
a "least common denominator" approach to its user interface. While
this is very useful for accomodating the many environments that a
package might be configured, it does make debconf interfaces in richer
environments look ugly and difficult to use by comparison. The
configlet API is an attempt to provide a solution to this problem for
one particular rich environment: the GNOME desktop.
A "configlet" is a set of Python code and an associated Glade
interface file defined under a certain set of constraints. These can
be loaded by front end applications as integrated components in their
user interfaces; for example, they may be configured to fit into the
GNOME Control Center, or integrated as pages in a GNOME Druid. Each
can read in current debconf information as a set of defaults, allow
the user to modify the settings, and write out a new set of debconf
values. These can be dumped directly into debconf and used as if they
were the values entered via the standard debconf front ends by the
package postinst scripts.
The infrastructure code included here contains the Configlet base
class, which individual configlets inherit from, as well as a simple
container class which implements basic functionality for dynamically
loading and instantiating configlets installed as subdirectories of a
common configlet directory.
|