The existence of /etc/env.d/90xsession should be better documented/announced. I do not understand why there is no default value set to "Xsession". For example, http://www.gentoo.org/doc/en/xorg-config.xml refers to rc.conf instead. I would understand that baselayout-2 is still in testing but how am I supposed to find the right config files if the docs on the web refer to stable only? The rc.conf file should definitely contain a hint that some variables have moved to etc/env.d/90xsession. Thanks.
The documentation documents the stable tree, not testing. When you're testing you are expected to follow the development, read changelog files and ebuilds, when you're stuck, use the forums or the user maling lists fex.. @X11 team: Assigning, as sooner or later this stuff needs to get documented.
The docs team maintains our X config guide, so I'm reassigning to them for their awareness.
(In reply to comment #1) > sooner or later this stuff needs to get documented. Later, since it is for ~arch, and we only do stable. We have a tracker bug for these kinds of issues, so I'll add this bug as a blocker to keep track.
See also bug #220797.
*** Bug 259321 has been marked as a duplicate of this bug. ***
(In reply to comment #5) > *** Bug 259321 has been marked as a duplicate of this bug. *** > Ok, well. since my bug was a duplicate of this one..xinit-1.0.8-r4 doesn't provide 90xsession anymore. So, *un*document that part (contrary to this summary)
(In reply to comment #6) > (In reply to comment #5) > > *** Bug 259321 has been marked as a duplicate of this bug. *** > > > > Ok, well. since my bug was a duplicate of this one..xinit-1.0.8-r4 doesn't > provide 90xsession anymore. So, *un*document that part (contrary to this > summary) So, it no longer provides a file in env.d -- users have to create it themselves? Noted. This bug mostly serves as a tracker for the stable documentation. We can't (yet) mention the new XSESSION hotness in anything other than the openrc doc. I'll go ahead and change that, and will make sure that the rest of our docs have updated XSESSION instructions once the right xinit version is stabilized.
(In reply to comment #7) > So, it no longer provides a file in env.d -- users have to create it > themselves? Correct, for >=1.0.8-r4. See below: >>> Messages generated by process 13457 on 2009-02-09 18:40:16 PST for package x11-apps/xinit-1.0.8-r4: WARN: postinst If you use startx to start X instead of a login manager like gdm/kdm, you can set the XSESSION variable to anything in /etc/X11/Sessions/ or any executable. When you run startx, it will run this as the login session. You can set this in a file in /etc/env.d/ for the entire system, or set it per-user in ~/.bash_profile (or similar for other shells). Here's an example of setting it for the whole system: echo XSESSION="Gnome" > /etc/env.d/90xsession env-update && source /etc/profile
This confused me a bit. I glanced at the message and figured it was old because I'd already set up /etc/env.d/90xsession. So I was surprised when I was greeted with twm when I logged back in. It seems that this recent change had deleted the file. I understand why it happened but I imagine this might upset some people.
I'll take this one. This is actually a blocker for getting the Xorg guide up to 1.5/1.6 standards, not something related to OpenRC. Stable xserver 1.6 utilizes 90xsession even on baselayout-1 (stable) systems.
Fixed in CVS. Commit log: "The first of many rewrites I'll be making to the guide to bring it up to stable xserver 1.6 standards."