I have zipslack installed and I checked the xwmconfig program. It's a script file. I found this line in it that makes kde the default window manager when it sees the xinitrc.kde file.
if [ -r /etc/X11/xinit/xinitrc.kde ]; then
echo "\"xinitrc.kde\" \"KDE: K Desktop Environment\" \"on\" \\" >> $TMP/tmpscript.sh
fi
Edit the file and change the on to off. Like this:
if [ -r /etc/X11/xinit/xinitrc.kde ]; then
echo "\"xinitrc.kde\" \"KDE: K Desktop Environment\" \"off\" \\" >> $TMP/tmpscript.sh
fi
One more thing, there are some lines that follow this that make gnome the default if the xinitrc.kde file is missing. So, if you should happen to remove the xinitrc.kde file, gnome will become the default. Here are the lines:
if [ -r /etc/X11/xinit/xinitrc.gnome ]; then
if [ ! -r /etc/X11/xinit/xinitrc.kde ]; then
echo "\"xinitrc.gnome\" \"GNOME: GNU Network Object Model Environment\" \"on\" \\" >> $TMP/tmpscript.sh
else
echo "\"xinitrc.gnome\" \"GNOME: GNU Network Object Model Environment\" \"off\" \\" >> $TMP/tmpscript.sh
fi
fi
You can edit these lines if you want to prevent gnome from becomming the default if xinitrc.kde is removed. Just comment out four of the lines like this:
if [ -r /etc/X11/xinit/xinitrc.gnome ]; then
# if [ ! -r /etc/X11/xinit/xinitrc.kde ]; then
#echo "\"xinitrc.gnome\" \"GNOME: GNU Network Object Model Environment\" \"on\" \\" >> $TMP/tmpscript.sh
#else
echo "\"xinitrc.gnome\" \"GNOME: GNU Network Object Model Environment\" \"off\" \\" >> $TMP/tmpscript.sh
# fi
fi
I hope this works.
Last edited by linuxcool; 04-23-2002 at 10:00 PM.
|