Usage of env and shutdown directories of KDE

Ingo Klöcker kloecker at kde.org
Mon Apr 25 22:10:39 BST 2011


On Monday 25 April 2011, Oswald Buddenhagen wrote:
> > On Monday 25 April 2011, Gökçen Eraslan wrote:
> > > So, if a distro uses "/usr/lib" as libdir, sh files are searched
> > > in ~/.kde and /usr/env directories since kde4-config is called
> > > with "--path lib" parameters. This is the case in Pardus and
> > > Kubuntu 10.10. openSUSE patched[1] startkde to source
> > > /usr/share/kde4/env directory. Same thing is valid for shutdown
> > > directory.
> > > 
> > > Is this the intended behaviour? As far as I can see, there is no
> > > such entry in kde4-config like "kde4-config --path env". That
> > > kind of path variable would be useful.
> 
> the system locations were never meant to be used with that.

Apparently, the guys at openSUSE don't know this. :-)


> it was a
> quick hack in the first place. if you feel like overengineering it
> thoroughly, be my guest. but don't break compatibility, i.e., list
> the current user locations.
> 
> On Mon, Apr 25, 2011 at 07:22:23PM +0200, Ingo Klöcker wrote:
> > Maybe. In any case, "data" appears to be a better choice than
> > "lib". At least on openSUSE.
> 
> if anything, then "config".

Yeah, or that (even though I don't see why "config" should be better 
than "data"). If anything, then "env" is very close to "xdgconf-
autostart", but that one doesn't include something like 
/usr/share/kde4/*.


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110425/98f617ed/attachment.sig>


More information about the kde-core-devel mailing list