From kde-core-devel Mon Apr 25 07:53:10 2011 From: =?utf-8?q?G=C3=B6k=C3=A7en_Eraslan?= Date: Mon, 25 Apr 2011 07:53:10 +0000 To: kde-core-devel Subject: Usage of env and shutdown directories of KDE Message-Id: <201104251052.13615.gokcen () pardus ! org ! tr> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=130371799018385 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart20382612.nC12pcXBNl" --nextPart20382612.nC12pcXBNl Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, I've confused about the path of the env and shutdown directories of KDE. In= =20 startkde script, env directory is sourced like this: libpath=3D`kde4-config --path lib | tr : '\n'` 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 So, if a distro uses "/usr/lib" as libdir, sh files are searched in ~/.kde = and=20 /usr/env directories since kde4-config is called with "--path lib" paramete= rs.=20 This is the case in Pardus and Kubuntu 10.10. openSUSE patched[1] startkde = to=20 source /usr/share/kde4/env directory. Same thing is valid for shutdown=20 directory. Is this the intended behaviour? As far as I can see, there is no such entry= in=20 kde4-config like "kde4-config --path env". That kind of path variable would= be=20 useful. =20 [1]=20 https://build.opensuse.org/package/view_file?file=3Dstartkde.diff&package= =3Dkdebase4- workspace&project=3DopenSUSE%3AFactory&srcmd5=3D799755ebf5e167f59cc2f50cb1e= a11b2 =2D-=20 G=C3=B6k=C3=A7en Eraslan --nextPart20382612.nC12pcXBNl Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk21Ul0ACgkQZ/1oBRJ7GWsZNwCfeVw1tR8nWaSxgB8ReKL5HvRu ecYAn0wK43oD/O2dyaTs07OsKqcpqaUy =urp6 -----END PGP SIGNATURE----- --nextPart20382612.nC12pcXBNl--