summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/kdebase/files/3.2.0/Xsetup')
-rw-r--r--kde-base/kdebase/files/3.2.0/Xsetup36
1 files changed, 0 insertions, 36 deletions
diff --git a/kde-base/kdebase/files/3.2.0/Xsetup b/kde-base/kdebase/files/3.2.0/Xsetup
deleted file mode 100644
index 427ed61d709b..000000000000
--- a/kde-base/kdebase/files/3.2.0/Xsetup
+++ /dev/null
@@ -1,36 +0,0 @@
-#! /bin/sh
-# Xsetup - run as root before the login dialog appears
-
-#xconsole -geometry 480x130-0-0 -notify -verbose -fn fixed -exitOnFail -file /dev/xconsole &
-
-SESSIONDIR="_PREFIX_/share/config/kdm/sessions"
-
-session_to_desktop_entry()
-{
-SESSION=$1
-SESSIONFILE="/etc/X11/Sessions/${SESSION}"
-
-if [ ! -d ${SESSIONDIR} ]; then
- echo "cannot create ${SESSION}.desktop:"
- echo "directory ${SESSIONDIR} does not exist."
- return;
-fi
-
-if [ ! -e ${SESSIONDIR}/${SESSION}.desktop ]; then
-
-cat > "${SESSIONDIR}/${SESSION}.desktop" <<EOF
-[Desktop Entry]
-Type=XSession
-Exec=${SESSIONFILE}
-TryExec=${SESSIONFILE}
-Name=${SESSION}
-EOF
-
-fi
-}
-
-echo "Creating menu entries for kdm in ${SESSIONDIR}..."
-
-for i in `ls /etc/X11/Sessions/`; do
- session_to_desktop_entry $i
-done