Where to start

Tony Houghton h at realh.co.uk
Tue Apr 5 07:08:21 PDT 2005


In <1112708807.8388.21.camel at localhost.localdomain>, Havoc Pennington wrote:

> On Tue, 2005-04-05 at 14:36 +0100, Tony Houghton wrote:
> > Will future versions allow ordinary users to install service files
> > somewhere eg under $XDG_DATA_DIR? The ROX desktop is designed to be
> > installable without root privileges, so ROX applications can't very well
> > take advantage of this feature yet.
> 
> They could, you'd just have to add a config file feature to let you
> specify a path relative to the XDG dirs.

Can the config file parser expand ~ and/or variables in filenames?
Users' own files should be kept separate from each other, so it needs to
be able to read one value that expands to a location for the current
user, rather than have a fixed path for every user. Ideally it needs to
be able to cope with constructs such as ${XDG_DATA_DIR:-~/.local/share}.

There's also the issue that a user still needs root access to write the
top-level config file if a per-user location isn't provided by default.

-- 
TH * http://www.realh.co.uk


More information about the dbus mailing list