From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1F8RHF-0007Hr-QU for garchives@archives.gentoo.org; Mon, 13 Feb 2006 00:09:14 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1D08TSj032760; Mon, 13 Feb 2006 00:08:29 GMT Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.194]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1D03D92016716 for ; Mon, 13 Feb 2006 00:03:14 GMT Received: by xproxy.gmail.com with SMTP id h31so625945wxd for ; Sun, 12 Feb 2006 16:03:13 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=L9hOmM8pYBQfqD3ZyRNnYfTIih4jNIW6jw2108ZY+GlQ2tuAsOFNvP6gjzYPCMvLHVdFPpT0oYvO6R4R6sXHLNvGpsAIPkSnMGqijWZi1oOuUqaJlsAtI/pe/HPIfyRlBGMHV2zllCaHxBbu2SzOESisiRAifLZvyuP5GXdDslw= Received: by 10.70.99.10 with SMTP id w10mr10566wxb; Sun, 12 Feb 2006 16:03:13 -0800 (PST) Received: by 10.70.62.13 with HTTP; Sun, 12 Feb 2006 16:03:13 -0800 (PST) Message-ID: Date: Sun, 12 Feb 2006 19:03:13 -0500 From: Forrest Voight To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] Re: /etc/rc.conf In-Reply-To: <43EFC984.5040709@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <43EF8EC9.5000709@gentoo.org> <1139787236.9259.18.camel@inertia.twi-31o2.org> <43EFC984.5040709@gentoo.org> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k1D03D92016716 X-Archives-Salt: e7cde280-8bf7-466d-af6c-b7ee1814d489 X-Archives-Hash: f620a20970f3fb3bf43a4e79d2e14d5a I was using an old gentoo system. Forget about KEYMAP. But, what about UNICODE? That is related to KEYMAP and consolefont. Shouldn't EDITOR and XSESSION be in a user-specific place? Forrest On 2/12/06, Donnie Berkholz wrote: > Chris Gianelloni wrote: > > On Sun, 2006-02-12 at 11:38 -0800, Donnie Berkholz wrote: > >> Forrest Voight wrote: > >>> Hello all, > >>> > >>> I believe that rc.conf contains many values that could be put into > >>> conf.d. For example, DISPLAYMANAGER and KEYMAP. DISPLAYMANAGER could > >>> be put into conf.d/xdm. Then, this variable would not exist with a > >>> non-X environment, and configuration could be more modularized. > >> DISPLAYMANAGER should stay in rc.conf is because XSESSION is in rc.conf, > >> and it doesn't make sense to split them up. XSESSION is unrelated to any > >> service, so there's not really a better place for it. > > > > Isn't XSESSION *only* used by display managers? I know for a fact that > > it isn't used by "startx" or anything. > > Do you now? It's used by my startx. > > Take a look at /etc/X11/xinit/xinitrc: > > # First try ~/.xinitrc > if [ -f "$HOME/.xinitrc" ]; then > XINITRC="$HOME/.xinitrc" > exec /bin/sh "$HOME/.xinitrc" > # If not present, try the system default > elif [ -n "`/etc/X11/chooser.sh`" ]; then > exec "`/etc/X11/chooser.sh`" > > in chooser.sh: > > # If $XSESSION is "", source first /etc/conf.d/basic, and then /etc/rc.conf > if [ -z "${XSESSION}" ] > then > [ -f /etc/conf.d/basic ] && source /etc/conf.d/basic > [ -f /etc/rc.conf ] && source /etc/rc.conf > fi > > # Find a match for $XSESSION in /etc/X11/Sessions > GENTOO_SESSION="" > for x in /etc/X11/Sessions/* > do > if [ "`echo ${x##*/} | awk '{ print toupper($1) }'`" \ > = "`echo ${XSESSION} | awk '{ print toupper($1) }'`" ] > then > GENTOO_SESSION=${x} > break > fi > done > > > -- gentoo-dev@gentoo.org mailing list