(Moving to desktop-discuss since this is now off-topic on pkg-discuss and smf-discuss)
On Mon, 2008-06-16 at 09:28 +0530, Moinak Ghosh wrote: > > Hmm, interesting, howdid KDE go around this problem of updating caches that > > span multiple packages without > > post install scripting ? Is this done at application startup ? > > KDE maintains the sycoca (System Config Cache) dynamically via a daemon > that is started when you login to the desktop or start any KDE application > when the desktop is not running. The daemon takes care of efficiently > maintaining the cache without need for scripting support. Does it maintain per-user cache then? > In addition all config > queries are satisfied from the cache DB as opposed to the > individual file-backed > gconfd. Actually, gconf uses a single xml file (%gconf-tree.xml) as its backend nowadays, plus 1 file per locale with the translations. > These actions should ideally be handled automatically by gconfd > instead of relying on external scripting. gconfd is per user, you wouldn't want to duplicate all config settings for all users, only the ones they change. A global service that installs the system default settings automatically is exactly what Erwann implemented. Laca
