menu spec: [menu-file-basename]-merged directory

Matt Kynaston mattkyn at gmail.com
Thu Mar 17 13:49:57 EET 2005


On Thu, 17 Mar 2005 11:22:06 +0100, cobaco (aka Bart Cornelis)
<cobaco at skolelinux.no> wrote:
> you can't guarantee that there will only be one single directory
> (XDG_CONFIG_DIRS is a list of directories each of which might contain a
> merge file, see the basedir spec)

OK, yeah, I phrased that badly.

The spec specifies the order of merges for the list of directories in
XDG_CONFIG_DIRS ("a set of preference ordered base directories"). That
can't cause confusion. But there's nothing in the spec about the order
(or preference) for many menu files within a given blah-merged directory.

The way I see it, the only sure way a menu editor can know that what
it saves in a user's blah-merged directory will look anything like
what it's supposed to is to clobber all other files there and replace
them with a single one of its own. And that's not a very polite thing
to do.

Like I said at the beginning of my original post, I might be missing
something. So what problem does allowing multiple merge files in the
user's blah-merged solve? Why was it set up that way?

Matt



More information about the xdg mailing list