On Wed, Jan 01, 2003 at 01:40:11AM -0500, Scott Robbins wrote: > On Wed, Jan 01, 2003 at 01:20:40AM -0500, Bob Bomar wrote: > > I want to set up a demo box that shows diffrent Window Managers. > > > > What is a good way to swith between window managers? > > A simple shell script would do it--it's 1:30 am here, but quick hack
Yeah, I just got it:
#!/bin/sh
echo "What window manager do you want to start?"
echo "1: KDE"
echo "2: GNOME"
echo "3: Window Maker"
read wm
if test "$wm" = "1"
then
ln -s /home/bob/.kde_start /home/bob/.xinitrc
elif test "$wm" = "2"
then
ln -s /home/bob/.gnome_start /home/bob/.xinitrc
elif test "$wm" = "3"
then
ln -s /home/bob/.wmaker_start /home/bob/.xinitrc
fi
/usr/X11R6/bin/startx --+xinerama
--
/----------------------------------------------------------------\
| Bob Bomar [EMAIL PROTECTED] http://www.bomar.us/~bob |
|================================================================|
| FreeBSD: The Power to Serve. http://www.freeBSD.org |
\----------------------------------------------------------------/
msg13890/pgp00000.pgp
Description: PGP signature
