Summary: | x11-apps/xinit: add support for per-runlevel xorg.conf to init.d/xdm | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | SpanKY <vapier> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED NEEDINFO | ||
Severity: | enhancement | CC: | thomas.bettler |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
xdm_init.patch
xdm_conf.patch startDM.sh.patch |
Description
SpanKY
2006-06-30 17:12:07 UTC
or a better idea as spyderous said is to have the SOFTLEVEL select the ServerLayout used So, what's a good way to go about this? If SOFTLEVEL is set, then assume the layout name will be the same as the softlevel name? Or do we want to allow people to have arbitrary layout names with a way to configure based on softlevel (PITA)? something like ${LAYOUT:-${SOFTLEVEL}} people could create /etc/conf.d/xdm.$SOFTLEVEL and change the LAYOUT value if they so choose A practical/minimal solution would be to have /etc/init.d/xdm accepting parameters from /etc/conf.d/xdm.<RUNLEVEL> I use it to start different X layouts. One with multi head support, the other for multi seat. Created attachment 106125 [details, diff]
xdm_init.patch
Make /etc/init.d/xdm accepting params for DM
Created attachment 106127 [details, diff]
xdm_conf.patch
A line with params to pass
Created attachment 106129 [details, diff]
startDM.sh.patch
Let startDM.sh pass the params on the dm call
Does anyone still care about this? Thanks i do for the same reason quoted originally ... The problem is that the xdm init script doesn't start the X process. It's GDM, KDM or whatever that starts it. The only thing we can do is what Thomas did in his patch, ie having various conf.d/xdm.${SOFTLEVEL}. So if that's all you need, I'll commit Thomas's patches. If not, well, patches are welcome. :) Thanks it's better than nothing The patches no longer apply and I'm completely lost with baselayout stuff. So if anyone wants this, please send patches on top of xinit-9999 in the x11 overlay. Thanks |