From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NK9fU-0002uy-Cv for garchives@archives.gentoo.org; Mon, 14 Dec 2009 12:04:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DF09E0969 for ; Mon, 14 Dec 2009 12:04:48 +0000 (UTC) Received: from mail-px0-f179.google.com (mail-px0-f179.google.com [209.85.216.179]) by pigeon.gentoo.org (Postfix) with ESMTP id 05768E07C1 for ; Mon, 14 Dec 2009 11:31:50 +0000 (UTC) Received: by pxi9 with SMTP id 9so2104829pxi.32 for ; Mon, 14 Dec 2009 03:31:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=+dgXZjbMxkv7Pe2I40Gf8PFhg3Xp0o7UUncP8K2VNpM=; b=OqYBoN/Q1HdbB/qNi7y7E11f0CMq2AAaNRHf/1FPor+FCum0/ftQeOw6KYIDnb2+3T TmDxjm2/yc3ykkhaUpDKt9YejsoW7l0sykwvUaDZf5tmsNuvdapW9442aGRf9d63y857 NW7GCtviEu0l2nPi5VzBpg3fYuqYrZIOO4crA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=m0YiFuvLQYDih1rnhlM79WZfrxVyyEWh20WesClpPEjtjkrl8iHSP9EBPDRXsrnFgw jGHg8OB8vPWgjq1Hwrw6SZWviD9Rm0k4St8D2lkTSVQeVNKDlcrZu5x7HBqayZKftfTB PrYsJVDUtm8Z1F4Jayt9T3jo82rq06eqteNL0= 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 Received: by 10.115.65.11 with SMTP id s11mr3127357wak.170.1260790310435; Mon, 14 Dec 2009 03:31:50 -0800 (PST) In-Reply-To: <358eca8f0912140317k66ab4a9cy9aed1737af6bb678@mail.gmail.com> References: <200912131830.37822.michaelkintzios@gmail.com> <184110a70912131402v6eb946e3g2f9ced512206cd10@mail.gmail.com> <358eca8f0912140317k66ab4a9cy9aed1737af6bb678@mail.gmail.com> Date: Mon, 14 Dec 2009 19:31:50 +0800 Message-ID: <184110a70912140331p4ef975dcg4853d8582250c585@mail.gmail.com> Subject: Re: [gentoo-user] Is rc.conf no longer used by Gentoo (baselayout-1.12.13)? From: Mike Mazur To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 53ebe740-8236-411c-960f-e172687b4717 X-Archives-Hash: 8df4f23e12f7b23a49a9f1009e542697 Hi, On Mon, Dec 14, 2009 at 19:17, Mick wrote: > 2009/12/13 Mike Mazur : > >> I ran across this issue last night. >> >> At some point /etc/rc.conf was no longer being sourced. Instead, >> setting the XSESSION variable in /etc/env.d is the correct way to do >> it. From the pkg_postinst section of the x11-apps/xinit ebuild[1]: >> >> =A0 =A0 =A0 =A0ewarn "If you use startx to start X instead of a login ma= nager like gdm/kdm," >> =A0 =A0 =A0 =A0ewarn "you can set the XSESSION variable to anything in /= etc/X11/Sessions/ or" >> =A0 =A0 =A0 =A0ewarn "any executable. When you run startx, it will run t= his as the >> login session." >> =A0 =A0 =A0 =A0ewarn "You can set this in a file in /etc/env.d/ for the = entire system," >> =A0 =A0 =A0 =A0ewarn "or set it per-user in ~/.bash_profile (or similar = for other shells)." >> =A0 =A0 =A0 =A0ewarn "Here's an example of setting it for the whole syst= em:" >> =A0 =A0 =A0 =A0ewarn " =A0 =A0echo XSESSION=3D\"Gnome\" > /etc/env.d/90x= session" >> =A0 =A0 =A0 =A0ewarn " =A0 =A0env-update && source /etc/profile" >> >> So, creating /etc/env.d/90xsession with the contents XSESSION=3D"Gnome" >> (I use Gnome) did the trick. > > Thanks Mike, most helpful! =A0What happens if you want to switch between > different sessions at/from the Display Manager stage? =A0Do you place > them all in /etc/env.d/90xsession ? Sorry, I'm not sure how to do that. I'm the only user on my system and I don't use a graphical login manager. Mike