From owner-freebsd-multimedia Wed Aug 1 21:44:15 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from ishmael.flashlightmedia.net (025-164.colo.ny.np1.net [64.61.25.164]) by hub.freebsd.org (Postfix) with ESMTP id 8878C37B401 for ; Wed, 1 Aug 2001 21:44:12 -0700 (PDT) (envelope-from luser@ahab.com) Received: (from mail_tunnel@localhost) by ishmael.flashlightmedia.net (8.11.4/8.11.4) id f724iAk48204 for freebsd-multimedia@FreeBSD.ORG; Thu, 2 Aug 2001 00:44:10 -0400 (EDT) (envelope-from luser@ahab.com) X-Authentication-Warning: ishmael.flashlightmedia.net: mail_tunnel set sender to luser@ahab.com using -f Date: Thu, 2 Aug 2001 00:44:12 -0400 From: JT To: freebsd-multimedia@FreeBSD.ORG Subject: Re: Mounting CDROM's, Setting Voodoo3 Depth Settings, and Switching Window Managers. Message-ID: <20010802004412.F424@zed.unbeat.com> Mail-Followup-To: freebsd-multimedia@FreeBSD.ORG References: <01080218293600.24863@BrokenMachine.openxtreme.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01080218293600.24863@BrokenMachine.openxtreme.net>; from gecko@tcworks.net on Thu, Aug 02, 2001 at 06:29:36PM -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Aug 02, 2001 at 06:29:36PM -0500, John wrote: > > Third, I want a program that will let me choose which Window Manager I want > to use upon the start of the X server after login. Or maybe even a graphical > login will work, like the graphical logins on Mandrake and Red Hat Linux. > Does anyone know if there is such a program ported to FreeBSD? > This is easiest with shell scripts. Write one that does the following and use it instead of startx. Say, "xme". MY_WM=$1; export MY_WM exec startx Starting an ssh agent here can be very convenient, too... Then, in .xinitrc: case $MY_WM in k*) # KDE exec startkde ;; g*) # Gnome exec gnome-session ;; w*) # Window maker exec wmaker ;; *) exec my-favorite-wm ;; esac So if you want kde, do: xme k Dead easy. Better than any graphical manager, cause it's so easy. And portable. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message