--nextPart1360873.UvlKAZi9MC Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable On Monday 25 April 2011, G=F6k=E7en Eraslan wrote: > Hi, >=20 > I've confused about the path of the env and shutdown directories of > KDE. In startkde script, env directory is sourced like this: >=20 > libpath=3D`kde4-config --path lib | tr : '\n'` >=20 > for prefix in `echo "$libpath" | sed -n -e 's,/lib[^/]*/,/env/,p'`; > do for file in "$prefix"*.sh; do > test -r "$file" && . "$file" > done > done >=20 > 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. >=20 > 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. Maybe. In any case, "data" appears to be a better choice than "lib". At=20 least on openSUSE. # kde4-config --path data ~/.kde/share/apps/:/usr/share/kde4/apps/:/etc/kde4/share/apps/ Regards, Ingo --nextPart1360873.UvlKAZi9MC Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEABECAAYFAk21rdgACgkQGnR+RTDgudiHqwCgo0r3Id/oYpIvv0cODXwqE1pb 580AnR9/o96giIlqtxil0stabtDuDv5N =gcQX -----END PGP SIGNATURE----- --nextPart1360873.UvlKAZi9MC--