From owner-freebsd-questions Tue Dec 31 23:19:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8203537B401 for ; Tue, 31 Dec 2002 23:19:13 -0800 (PST) Received: from peitho.fxp.org (peitho.fxp.org [209.26.95.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CCF043EB2 for ; Tue, 31 Dec 2002 23:19:13 -0800 (PST) (envelope-from bulldog@fxp.org) Received: by peitho.fxp.org (Postfix, from userid 1206) id AB2901372E; Wed, 1 Jan 2003 02:19:07 -0500 (EST) Date: Wed, 1 Jan 2003 02:19:07 -0500 From: Bob Bomar To: Scott Robbins Cc: questions@freebsd.org Subject: Re: Using multiple window managers Message-ID: <20030101071907.GA48086@peitho.fxp.org> References: <20030101062040.GA51703@peitho.fxp.org> <20030101064011.GA2840@scottro11.homeunix.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline In-Reply-To: <20030101064011.GA2840@scottro11.homeunix.net> User-Agent: Mutt/1.4i X-Mailer: socket() Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. > >=20 > > What is a good way to swith between window managers? >=20 > 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" =3D "1" then ln -s /home/bob/.kde_start /home/bob/.xinitrc elif test "$wm" =3D "2" then ln -s /home/bob/.gnome_start /home/bob/.xinitrc elif test "$wm" =3D "3" then ln -s /home/bob/.wmaker_start /home/bob/.xinitrc fi /usr/X11R6/bin/startx --+xinerama --=20 /----------------------------------------------------------------\ | Bob Bomar bulldog@fxp.org http://www.bomar.us/~bob | |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| | FreeBSD: The Power to Serve. http://www.freeBSD.org | \----------------------------------------------------------------/ --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE+EpZr9Jm/aTrtdKoRAuDAAKCN+vNGrbRJSM+77qUbDQEqJhYlnACdEgfy 5LzhpiqLf6qeUZk2XU3vO0Y= =DARX -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message