Summary: | Idea to unify X11/Gnome/KDE/etc. session startups | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas Simon <andreas.w.simon> |
Component: | [OLD] Unspecified | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | coldwind, desktop-wm+disabled, gnome, jonas, kde, markus |
Priority: | Highest | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andreas Simon
2003-08-10 04:47:11 UTC
Please take a look too at bug #14872, and say what you think about that. To have pre- AND postsession scripts is even better. But the patches as they are in #14872 don't change the different behaviour/code duplication of Xsession and KDE/ Gnome session scripts (which was not subject of that bug report at all). But they are IMO a very good start. If such a mechanism is implemented, i.e. having scripts in /etc/X11/PreSession.d/ and /etc/X11/PostSession.d/ (as Martin Schlemmer suggested) which get executed before or after the session, it's easy to unify startup behavior of the various desktop environments. All it needs then is to move non-desktop specific code from the session scripts (like in Gnome's session script) and the Xdefaults/Xmodmap stuff from Xsession into small scripts under /etc/X11/PreSession.d/. And the suggested DMSession script can also take the form of small /etc/X11/{Pre,Post}Session.d/ scripts which then execute systemwide or user specific things. Hmm .. I feel a bit silly. I did a bugzilla search for xinitrc and session, etc. but somehow managed to overlook bug #14872 , otherwise I would have posted a comment there. In the current kdm and gdm this is partially implemented as sourcing ~/.xprofile. *** Bug 53517 has been marked as a duplicate of this bug. *** comment #3: True, for the user. But I agree that it'd be nice to have scripts for the system. Think /etc/env.d vs. ~/.bashrc and ~/.profile I'm in favor of this proposal. Nearly 5 years after this bug was opened, it seems no-one cares about merging those scripts anymore. In any case, patches will of course be welcome by the X11 herd, but this is very very low on our TODO list. Thanks |