[PlanetCCRMA] re: nvidia drivers

Jan Depner eviltwin69@cableone.net
Fri Apr 21 11:41:01 2006


On Thu, 2006-04-20 at 19:15 -0700, Tracey Hytry wrote:
> > Is there a way to use a custom xorg.conf for each kernel? 
> 
> Hi,
> 
> I usually do it manually by keeping various xorg.conf-config_name and copying it over to xorg.conf before starting X(I boot in run level 3).
> 
> I'm pretty sure writing a little script and sticking it in /etc/rc.d/rc.local could automate the proccess(something like "check for kernel version, copy correct xorg.conf).
> 

    Just put a script in /etc/rc.d/init.d and link to it
from /etc/rc.d/rc5.d (call the script WHATEVER and the link
S99WHATEVER).  If you're really ambitious you could steal one of the
preexisting scripts and change the chkconfig part to set the S99 then
you could just do chkconfig WHATEVER on.  The script should copy the
correct xorg.conf file to /etc/X11/xorg.conf.  The easiest way would be
to name the files /etc/X11/xorg.conf_2.6.14-0.10.rrt.rhfc4.ccrma
and /etc/X11/xorg.conf_2.6.14-1.1653_FC4 (or whatever) then you could
just copy /etc/X11/xorg.conf_`uname -r` to /etc/X11/xorg.conf.  This way
you can boot right into level 5 with no problems (hopefully).

-- 
Jan 'Evil Twin' Depner
The Fuzzy Dice
http://myweb.cableone.net/eviltwin69/fuzzy.html


"As we enjoy great advantages from the invention of others, we should be 
glad of an opportunity to serve others by any invention of ours, and 
this we should do freely and generously."

Benjamin Franklin, on declining patents offered by the governor of 
Pennsylvania for his "Pennsylvania Fireplace", c. 1744