On Tue, 10 Dec 2002 15:03:59 GMT John Pettigrew <john@xl-cambridge.com> wrote:
I need two different XF86Config files on my SuSE8.1 box - one for normal desktop use and one for games. This is because, with my GeForce2 card, the NVidia drivers don't let me go above 1280x1024 on the desktop, but the nv drivers (which let me use 1600x1200) don't support 3D.
How can I switch easily between the two XF86Config files involved? Is it possible to set the file to be used when logging in graphically (e.g. having two different users)? If not, how do I drop out of the graphical login tool to log in without starting X, so I can start it manually with the relevant config file.
To boot without X, go to yast2->system->run-level editor->set default to 3 To change X settings, maybe it would be easiest to start X with a script. Have the script rename the XF86Config file to which one you want. For example, have 2 files, XF86Config-normal and XF86Config-3d. ###################################################### #!/bin/bash if [ $# -ne "1" ] then file='/etc/X11/XF86Config-normal' else file='/etc/X11/XF86Config-3d' fi cp $file /etc/X11/XF86Config startx exit ######################################################## So after you login to a console, type "x" will startx in your noraml mode, while "x 3" will startx in the 3d mode. The script just tests for a $1, so you can put anything after it, like "x 1". -- use Perl; #powerful programmable prestidigitation