summaryrefslogtreecommitdiffstats
path: root/openbox
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2008-06-04 21:36:36 +0000
committer Eric Hameleers <alien@slackware.com>2008-06-04 21:36:36 +0000
commitbe89c2485d1fae69b4a77c9c39e5f7efbb483d2b (patch)
tree42e55538bcdc3f570bdd9ba38fe332cbd53a6ee1 /openbox
parent4826d3d389335796b81cc536f01bf638ac014e6d (diff)
downloadasb-be89c2485d1fae69b4a77c9c39e5f7efbb483d2b.tar.gz
asb-be89c2485d1fae69b4a77c9c39e5f7efbb483d2b.tar.xz
Add OpenBox session types to the list that Slackware's KDM detects
Diffstat (limited to 'openbox')
-rwxr-xr-xopenbox/build/openbox.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbox/build/openbox.SlackBuild b/openbox/build/openbox.SlackBuild
index b194ca7d..eb9dd06e 100755
--- a/openbox/build/openbox.SlackBuild
+++ b/openbox/build/openbox.SlackBuild
@@ -185,6 +185,12 @@ mkdir -p $PKG/etc/X11/xinit
install -m 0755 -o root $SRCDIR/xinitrc.$PRGNAM \
$PKG/etc/X11/xinit/xinitrc.$PRGNAM
+# Make sure that KDM picks up the LXDE session type as well:
+mkdir -p $PKG/usr/share/apps/kdm/sessions
+( cd $PKG/usr/share/apps/kdm/sessions
+ for i in $(ls ../../../xsessions/*.desktop) ; do ln -sf $i ; done
+)
+
# Add this to the doinst.sh:
! [ -d $PKG/install ] && mkdir -p $PKG/install
cat <<EOINS >> $PKG/install/doinst.sh