>>> "Andy" == Andy Thomas <[EMAIL PROTECTED]> writes:
Andy> Hi, How do I switch out of KDE and into something like
Andy> FVWM2? I tried to avoid installing any KDE but some app
[snip]
Is there a file in your /home/[username] directory named .xinitrc?
If yes, the last line ought to specify the default window manager.
Edit the file to comment out 'startkde' and insert the line
exec [command-to-start-the-WM-you-want]
I don't want to recommend blindly creating an .xinitrc. You could try
creating one with only the line exec
[command-to-start-the-WM-you-want], and see what happens. No
promises.
If there's no .xinitrc, then K might be starting because of the code
in /etc/X11/xinit/Xclients. Take a look below. There is no
/etc/sysconfig/desktop created in a Red Hat or Mandrake install,
AFAIK.
Because there's no /etc/sysconfig/desktop, and if gnome's not
installed, the default desktop is K (absent .xinitrc in /home).
[insert part of /etc/X11/xinit/Xclients here]
#!/bin/bash
# (c) 1999 Red Hat Software, Inc.
# check to see if the user has a preferred desktop
PREFERRED=
if [ -f /etc/sysconfig/desktop ]; then
if [ -n "`grep -i GNOME /etc/sysconfig/desktop`" ]; then
PREFERRED=gnome-session
elif [ -n "`grep -i KDE /etc/sysconfig/desktop`" ]; then
PREFERRED=startkde
elif [ -n "`grep -i AnotherLevel /etc/sysconfig/desktop`" ]; then
PREFERRED=AnotherLevel
else
PREFERRED=Default
fi
fi
if [ -n "$PREFERRED" -a "$PREFERRED" != "AnotherLevel" ] && \
which $PREFERRED >/dev/null 2>&1; then
PREFERRED=`which $PREFERRED`
exec $PREFERRED
fi
# now if we can reach here, either they want AnotherLevel or there was
# no desktop file present and the PREFERRED variable is not set.
if [ -z "$PREFERRED" ]; then
GSESSION=gnome-session
STARTKDE=startkde
# by default, we run KDE
if which $STARTKDE >/dev/null 2>&1; then
exec `which $STARTKDE`
fi
# if KDE isn't installed, try GNOME
if which $GSESSION >/dev/null 2>&1; then
exec `which $GSESSION`
fi
fi
[end inserted part of /etc/X11/xinit/Xclients here]
--
Mike Fieschko, West Orange, NJ, USA
X-Mailer: XEmacs 21.1, VM 6.75 and random-sig.el
Kernel 2.2.14-14mdk
http://www.viconet.com/fieschko/home.htm
Jan 5 St Telesphorus or St John Neumann
"What embitters the world is not excess of criticism, but an absence
of self-criticism." - [G.K. Chesterton, in Sidelights on New London
and Newer New York]