Request for clarification on menu/file spec

cobaco (aka Bart Cornelis) cobaco at skolelinux.no
Wed Feb 8 12:56:22 EET 2006


On Wednesday 08 February 2006 11:32, Kevin Krammer wrote:
> On Wednesday 08 February 2006 11:09, cobaco (aka Bart Cornelis) wrote:
> > On Debian we have desktop-profiles [1] which runs an Xsession.d script
> > that manages the contents of the XDG_*_DIRS variables (and similar
> > variables such as KDEDIRS, or CHOICESPATH).
> >
> > When setting the variables it parses config files that specify the
> > available config/data sets and the conditions under which they should
> > be activated. If conditions are met the profile directory is activated
> > with the specified priority (relative to other active profiles).
>
> I thought about suggesting something like this in a cross-distribution
> way as well, but, as it affects the environment, it will only work for
> applications that have been installed before a user session starts.

true, I don't see this as a fundamental problem though, you also have to 
restart the session if you upgrade KDE while it's running, you don't change 
the environment that often.

> Example:
> I start with a clean Debian installation, KDE is installed in /usr,
> KDEDIRS unset, XDG variables unset
> After logging in into KDE I manually compile and install a source package
> using the configure default of /usr/local
>
> Result: the program can be started as /usr/local/bin is in PATH by
> default, it appears in the menu as /usr/local is part of the XDG default
> _But_ if the application is a KDE application and has some KDE resources
> like KParts, it won't find them

right, cause KDEDIRS doesn't include /usr/local by default. If you set up 
KDEDIRS up front to include /usr/local the problem isn't present (just 
running kbuildsycoca after installation should do I think)

-> this is but a one-time configuration setting (not sure wether to consider 
this a distro-issue, or a bug in the default value of KDEDIRS)
-- 
cobaco (aka Bart Cornelis):
    Coördinator Belgisch Skolelinux team
    Coördinator Nederlandse Skolelinux vertaling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xdg/attachments/20060208/2c808058/attachment.pgp 


More information about the xdg mailing list