From: Mike Mazur <mmazur@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 06:02:15 +0800 [thread overview]
Message-ID: <184110a70912131402v6eb946e3g2f9ced512206cd10@mail.gmail.com> (raw)
In-Reply-To: <200912131830.37822.michaelkintzios@gmail.com>
Hi,
I ran across this issue last night.
On Mon, Dec 14, 2009 at 02:30, Mick <michaelkintzios@gmail.com> wrote:
> If this is the case, am I right to assume that the files in
> /etc/X11/Sessions/* are not used anymore and the solution is to set up a local
> ~/.xinitrc file for launching the desired WM?
The scripts in /etc/X11/Sessions/ can still be used.
> I am muddled up because I have forever it seems used /etc/rc.conf to manage
> the XSESSION which xdm would pick from /etc/X11/Sessions/* to start different
> WMs.
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.
Hope that helps,
Mike
[1] http://gentoo-portage.com/AJAX/Ebuild/100485/View
next prev parent reply other threads:[~2009-12-13 22:03 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 [this message]
2009-12-14 11:17 ` Mick
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=184110a70912131402v6eb946e3g2f9ced512206cd10@mail.gmail.com \
--to=mmazur@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