Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229769 - x11-apps/xinit-1.0.8-r3: document /etc/env.d/90xsession
Summary: x11-apps/xinit-1.0.8-r3: document /etc/env.d/90xsession
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: nm (RETIRED)
URL:
Whiteboard:
Keywords:
: 259321 (view as bug list)
Depends on:
Blocks: 267769
  Show dependency tree
 
Reported: 2008-06-27 14:38 UTC by Martin Mokrejš
Modified: 2009-10-02 07:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2008-06-27 14:38:37 UTC
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.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-27 22:06:36 UTC
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.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2008-06-29 23:50:11 UTC
The docs team maintains our X config guide, so I'm reassigning to them for their awareness.
Comment 3 nm (RETIRED) gentoo-dev 2008-06-30 04:13:50 UTC
(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.
Comment 4 Martin Mokrejš 2009-01-23 11:27:48 UTC
See also bug #220797.
Comment 5 nm (RETIRED) gentoo-dev 2009-02-17 06:17:45 UTC
*** Bug 259321 has been marked as a duplicate of this bug. ***
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-02-17 06:31:42 UTC
(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)
Comment 7 nm (RETIRED) gentoo-dev 2009-02-17 07:06:22 UTC
(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.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2009-02-17 19:39:24 UTC
(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
Comment 9 James Le Cuirot gentoo-dev 2009-03-01 15:44:56 UTC
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.
Comment 10 nm (RETIRED) gentoo-dev 2009-10-02 07:34:22 UTC
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.
Comment 11 nm (RETIRED) gentoo-dev 2009-10-02 07:39:07 UTC
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."