a small part of the Mandrake init scripts
( you can append it to yours if you are missing something similar)
----------------------------------------------------------------------------------- # (pixel) a kind of profile for XF86Config # if no XFree=XXX given on kernel command-line, restore XF86Config.standard for i in XF86Config XF86Config-4; do if [ -L "/etc/X11/$i" ]; then XFree=`sed -n 's/.*XFree=\(\w*\).*/\1/p' /proc/cmdline` [ -n "$XFree" ] || XFree=standard [ -r "/etc/X11/$i.$XFree" ] && ln -sf "$i.$XFree" "/etc/X11/$i" fi done ----------------------------------------------------------------------------------- |
move your XF86Config-4 file( the one for standard kernel) to XF86Config-4.standard, create a link from it to XF86Config-4, move the XF86Config-4 file(the one for backstreet ruby) to XF86Config-4.bruby. For ruby/ backstreet ruby kernels add to the append line in /etc/lilo.conf or on boot prompt XFree=bruby, leave the standard kernel as is.
Results:
booting with "XFree=standard" or without "XFree=" ( boot prompt or lilo.conf) will result in linking XF86Config-4.standard to XF86Config-4, booting with "XFree=bruby" will link XF86Config-4.bruby to XF86Config-4, so in both occasions XFree can be started with the proper configuration file for the first X server.
And what about the other X servers? :
Well under standard kernel you can not use several independent X servers, so ...
you use the other XFree configuration files only under ruby/ backstreet ruby -- no need for different configuration files under standard & bruby kernel.