Configuring XFree86
This is propably as n00b a quiestion as one gets, but here goes:
First, the senario- Install new Nvdidia drivers, right everything peachy... Now, reboot to find that Xfree86 must be configured again (also explained in Read-Me), no prob, except I dont know how to do this from console...then reinstall Mandrake...EISH!!!! So the obvious n00b quiestion...how do I configure Xfree86 (or any other file) from console? :confused: |
Still a Windoze convert noob myself but I've just been playing with this one myself.
From a console you should be able to type and run xf86config I believe that there is also xf86config4 which is a simpler version..... |
The information that you are changing is in /etc/X11/XF86Config.
The programs xf86config and xf86config4 modify /etc/X11/XF86Config. So does the SuSE program sax2. You can also modify the file using your favorite text editor. You can safely ignore all the people who are about to jump in here and tell you to use vi. |
u can....
ehlo,
Go to /etc/X11 directory in it u will find file called "XF86Config" this file contains all ur xfree86 server configurations divided in sections like this: Section "Device" Section "Display" etc etc........... U can make changes to ur xfree86 server by modifying this file. command my_world gave u works aswell ! |
Quote:
I know the location of the config files, but to edit them as root outside of X is the real hick-up... |
Try mp
You need an editor that works from the command line. I use mp for all of my
command line editing. http://www.triptico.com/software/mp.html |
I had that problem myself.
From console just type: xf86config And then follow the instructions, like Unknown said. It's pretty self explanatory from there. As for editors, vi will work from command mode, just type: vi <name of file you want to edit> Best of luck :) |
If you had a working xfree86 before you installed the nvidia drivers you will only need to change a few lines to get them working, doing xf86config again will not help as xfree86 does not know about the nvidia driver.
Do the following to edit your X config from the command line, Code:
mcedit /etc/X11/XF86Config |
My favourite console text editor is mc . It's a Swiss-Army-Knives and a simple browser too. Press F4 to edit the file.
Other basic file editors are: pico, jedit, ed. This is mine: Code:
# /.../ Have fun :-) |
All times are GMT -5. The time now is 02:24 PM. |