Xfce

Subdomains
 

Configuration

  • May 20, 2006
  • Danny

Hi,

so I’d like to do some idle talk about simplifying the configuration system of Xfce4.5.

All the possibilities I heard so far do not go far enough.

What I’d like to see is it to be simplified to the max by:

using one (real) file per setting (yes _setting_) in “.config/xfce4/”If the setting points to a file (for example background image), it should be a symlink to the file. Otherwise it should be a regular file containing the value as readable string.

So for our (more or less) current settings,

http://xfce.wikia.com/wiki/Simple_Settings

That isn’t all that much, is it?

Advantages are:
* simple to copy/merge
* simple to understand
* can use all the normal unix tools

(symlink the important ones to another directory etc)
simple to change by script
uses normal unix tree api and doesn’t introduce another version of it (xml, ini file, whatever)
uses file change notification to be notified of changes (not xsettings)

Disadvantage:
* wastes space on old filesystems – aren’t that many files though!

As a means to fix the only remaining disadvantage, I’d suggest writing/mounting a FUSE module that stores the settings in a bdb or something.