public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Is rc.conf no longer used by Gentoo  (baselayout-1.12.13)?
Date: Mon, 14 Dec 2009 11:17:29 +0000	[thread overview]
Message-ID: <358eca8f0912140317k66ab4a9cy9aed1737af6bb678@mail.gmail.com> (raw)
In-Reply-To: <184110a70912131402v6eb946e3g2f9ced512206cd10@mail.gmail.com>

2009/12/13 Mike Mazur <mmazur@gmail.com>:

> 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]:
>
>        ewarn "If you use startx to start X instead of a login manager like gdm/kdm,"
>        ewarn "you can set the XSESSION variable to anything in /etc/X11/Sessions/ or"
>        ewarn "any executable. When you run startx, it will run this as the
> login session."
>        ewarn "You can set this in a file in /etc/env.d/ for the entire system,"
>        ewarn "or set it per-user in ~/.bash_profile (or similar for other shells)."
>        ewarn "Here's an example of setting it for the whole system:"
>        ewarn "    echo XSESSION=\"Gnome\" > /etc/env.d/90xsession"
>        ewarn "    env-update && source /etc/profile"
>
> So, creating /etc/env.d/90xsession with the contents XSESSION="Gnome"
> (I use Gnome) did the trick.

Thanks Mike, most helpful!  What happens if you want to switch between
different sessions at/from the Display Manager stage?  Do you place
them all in /etc/env.d/90xsession ?
-- 
Regards,
Mick



  reply	other threads:[~2009-12-14 12:02 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-13 18:30 [gentoo-user] Is rc.conf no longer used by Gentoo (baselayout-1.12.13)? Mick
2009-12-13 20:22 ` Dale
2009-12-13 20:43   ` Mick
2009-12-13 22:14     ` Dale
2009-12-13 23:01     ` Neil Bothwick
2009-12-14 11:18       ` Mick
2009-12-14 12:22         ` Neil Bothwick
2009-12-14 17:00           ` Allan Gottlieb
2009-12-14 21:55             ` pk
2009-12-14 22:43               ` Allan Gottlieb
2009-12-16 19:16                 ` pk
2009-12-17  3:54                   ` Allan Gottlieb
2009-12-14 20:50           ` Mick
2009-12-14 22:45             ` Mike Edenfield
2009-12-14 23:02               ` Mick
2009-12-13 22:02 ` Mike Mazur
2009-12-14 11:17   ` Mick [this message]
2009-12-14 11:31     ` Mike Mazur
2009-12-14 12:22       ` Patrick Holthaus
2009-12-15  5:29       ` daid kahl
2009-12-15 15:38         ` Marcus Wanner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=358eca8f0912140317k66ab4a9cy9aed1737af6bb678@mail.gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox