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 <[EMAIL PROTECTED]> 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

Reply via email to