From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4AE971381F3 for ; Fri, 23 Aug 2013 20:47:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A767E0C69; Fri, 23 Aug 2013 20:47:46 +0000 (UTC) Received: from mail-1.ca.inter.net (mail-1.ca.inter.net [208.85.220.69]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 970EEE0BDB for ; Fri, 23 Aug 2013 20:47:45 +0000 (UTC) Received: from localhost (offload-3.ca.inter.net [208.85.220.70]) by mail-1.ca.inter.net (Postfix) with ESMTP id EB2E42EA57C for ; Fri, 23 Aug 2013 16:47:25 -0400 (EDT) Received: from mail-1.ca.inter.net ([208.85.220.69]) by localhost (offload-3.ca.inter.net [208.85.220.70]) (amavisd-new, port 10024) with ESMTP id 5C1JO0TvG7mH for ; Fri, 23 Aug 2013 16:47:21 -0400 (EDT) Received: from ca.inter.net (host-192.252-161-143.dyn.295.ca [192.252.161.143]) by mail-1.ca.inter.net (Postfix) with SMTP id 1D34D2EAC2B for ; Fri, 23 Aug 2013 16:47:20 -0400 (EDT) Received: by ca.inter.net (sSMTP sendmail emulation); Fri, 23 Aug 2013 16:47:20 -0400 Date: Fri, 23 Aug 2013 16:47:20 -0400 From: Philip Webb To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] startx with multiple window managers Message-ID: <20130823204719.GA875@ca.inter.net> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20130823173945.GA12254@artifex> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130823173945.GA12254@artifex> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 5bff1d68-0017-40d6-b914-a9166a8db491 X-Archives-Hash: 72d9e7e940ff5852fa6fbac2ff629874 130823 Randy Westlund wrote: > I launch X with startx. I also use multiple window managers. > My procedure for starting multiple managers is this: > - log in - startx - login on tty2 - edit .xinitrc - startx -- :1 > .xinitrc goes from: > exec xmonad > #exec startxfce4 > to: > #exec xmonad > exec startxfce4 > Then I can switch between tty7 and tty8 at will. > Can I simplify this process? When I used 2 WMs, I had 2 versions of .xinitrc , which I called eg '.xinitrc-a' '.xinitrc-b'. All I had to do was enter 'cp .xinitrc-a .xinitrc' & then 'startx'. That's slightly simpler than what you've been doing. However, 'startx' is a shell script, so you sb able to edit it to contain a query as to which WM to use ; you could alias the choices to single letters, then enter what you need. Let us all know if that works (smile). -- ========================,,============================================ SUPPORT ___________//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT `-O----------O---' purslowatchassdotutorontodotca