Date: Wed, 1 Jan 2003 02:19:07 -0500 From: Bob Bomar <bulldog@fxp.org> To: Scott Robbins <scottro@nyc.rr.com> Cc: questions@freebsd.org Subject: Re: Using multiple window managers Message-ID: <20030101071907.GA48086@peitho.fxp.org> In-Reply-To: <20030101064011.GA2840@scottro11.homeunix.net> References: <20030101062040.GA51703@peitho.fxp.org> <20030101064011.GA2840@scottro11.homeunix.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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 bulldog@fxp.org http://www.bomar.us/~bob |
|================================================================|
| FreeBSD: The Power to Serve. http://www.freeBSD.org |
\----------------------------------------------------------------/
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)
iD8DBQE+EpZr9Jm/aTrtdKoRAuDAAKCN+vNGrbRJSM+77qUbDQEqJhYlnACdEgfy
5LzhpiqLf6qeUZk2XU3vO0Y=
=DARX
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030101071907.GA48086>
