Default setting of KDEDIRS on Debian
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have been thinking, and I think it would be cool if the esteemed Debian KDE
packagers would consider the attached patch for startkde (which gets
installed as /usr/bin/kde3). :-)
The basic gist of it is that third-party apps installed from tarballs would
work properly out-of-the-box on a standard Debian KDE installation. But read
the patch. It's small.
- --
Nathaniel W. Turner
http://www.houseofnate.net/
Tel: +1 508 579 1948 (mobile)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE9vzgA25cAeUrFyDIRAiO7AJ448nnlk3Ws6xEm4/S8/X+2I1JkqACgsYwT
St8v5lOSsGfIc/Lu4FGSxdE=
=3m4o
-----END PGP SIGNATURE-----
--- startkde 2002-09-28 18:12:12.000000000 +0000
+++ startkde.new 2002-10-30 00:47:56.000000000 +0000
@@ -39,6 +39,27 @@
kdehome=$HOME/.kde
test -n "$KDEHOME" && kdehome=`echo "$KDEHOME"|sed "s,^\~/,$HOME/,"`
+# Set the default KDEDIRS to something sensible for a Debian system.
+#
+# This creates a default environment where:
+#
+# * packages installed from tarballs with a prefix of /usr/local work properly.
+#
+# * packages installed from tarballs with a prefix of /usr/local/kde work
+# properly.
+#
+# * system administrators can to do things like add local system-wide .desktop
+# files in /usr/local/share/applnk, etc.
+#
+# * I don't see several messages per week on some mailing list explaining that
+# someone installed a 3rd party app but it has no icons/menu entry/etc. =)
+#
+# Of course, if someone has already setup KDEDIRS a certain way, this will not
+# change that.
+
+test -z "$KDEDIRS" -a -z "$KDEDIR" \
+&& export KDEDIRS=/usr/local:/usr/local/kde:/usr
+
# Activate the kde font directories.
#
# There are 4 directories that may be used for supplying fonts for KDE.
Reply to: