PERL : Libconf::Glueconf::X::Gdm C/PYTHON/RUBY : X/Gdm
Libconf::Glueconf::X::Gdm is a template that handles the gdm and kdm configuration files
$gdm = new Libconf::Glueconf::X::Gdm({filename => '/etc/X11/gdm/gdm.conf'});
$gdm->{'server-Standard'}{command} = 'foo -bar 16 -nolisten udp';
$gdm->write_conf();
creates the template
$gdm = new Libconf::Glueconf::X::Gdm({
.. options ..
});
the options are the same as in Libconf::Glueconf::Generic::ValuesSection, look there to have the details.
See <Libconf::Glueconf> for general methods