xdg user directory patches for xfce 4.4.2

Christian Dywan christian at twotoasts.de
Sun Aug 10 23:42:13 CEST 2008


Am Sun, 10 Aug 2008 22:54:56 +0200
schrieb Jannis Pohlmann <jannis at xfce.org>:

> Am Sun, 10 Aug 2008 22:44:13 +0200
> schrieb Christian Dywan <christian at twotoasts.de>:
> 
> > Am Sun, 10 Aug 2008 22:30:55 +0200
> > schrieb Andrea Santilli <yawara at quipo.it>:
> > 
> > > Thanks for your replies guys, you've given me some cool ideas.
> > > I'm thinking about making the base libraries find out what those
> > > directories are and give the values to the requesting
> > > applications, instead of having to find them out every time.
> > > And yes, I guess I'll need to write some function that can replace
> > > g_get_user_special_dir().
> > > Anyway, about the portability, maybe it would be a better idea to
> > > write a setting configuration interface through which you can
> > > enter the pathnames for those directories. Something like kde
> > > already has. It could also have a 'set everything with the xdg
> > > user directory defaults' option.
> > > Dunno, thats just an idea. What do you think?
> > 
> > Making these paths configurable would actually be the next step
> > after implementing support for them, as far as I understand the
> > concept of the spec. You would basically let applications retrieve
> > the paths as per the spec, from the user-dirs.dirs files, which in
> > turn can be modified in terms of a settings application. I don't
> > know, though, if any of the existing settings plugins could take
> > over this task, or we would need a new one. I suppose Preferred
> > Applications could be extended and renamed to fit this task?
> 
> What do these directories have to with preferred applications? IMHO
> combining these two would be a stupid idea. Rather make up a separate
> settings dialog for the user directories.

Well, my idea was that currently Preferred Applications is pretty
simple, it merely consists of three combo boxes. And the directory
dialog would be similarly small.

However, as you put it bluntly, it doesn't really all that much
sense. So please just disregard my suggestion. ^_^

ciao,
    Christian



More information about the Xfce4-dev mailing list