gconf

gconf configuration Type

Ingo Rohlfs

rohlfs

12,818 downloads

12,818 latest version

1.9 quality score

Version information

  • 0.0.6 (latest)
released Apr 13th 2011

Start using this module

Tags: gconf, gnome2

Documentation

rohlfs/gconf — version 0.0.6 Apr 13th 2011

gconf

This is a gconf module. Its a Type/Provider module for gconf Settings. Only a basic rudimantary implementation. At the moment it only checks a gconf value and set it to the desired state if not matching.

Please not that is only a first version. so do not exspect perfecness from it...

Usage:

gconf { "/apps/gnome-screensaver/idle_delay": content => "10", # the exspected content of the setting gmode => "mandatory", # may be default or mandatory type => "integer" # type of the content (integer,string,boolean) }

other options: gconf_default_source --> path to the default xml directory (Defaults to: /etc/gconf/gconf.xml.defaults) gconf_mandatory_source --> patch to the mandatory xml directroy (Defaults to: /etc/gconf/gconf.xml.mandatory)

TODO:

  • possibility of removing gconf entries.
  • better validation of input
  • etc...