LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How would I edit XF86config-4 without X up (https://www.linuxquestions.org/questions/linux-newbie-8/how-would-i-edit-xf86config-4-without-x-up-30844/)

gonus 09-20-2002 10:05 PM

How would I edit XF86config-4 without X up
 
I almsot got my NVIDIA drivers installed (I think). All I need nwo is to edit thsi fiel so it can startX but I do not know how to edit it with out x. Thanx in advance.

neo77777 09-20-2002 10:10 PM

Do you have pico installed? It is a very simplistic command line text editor - no brainer, so if it is available (it comes bundled with pine - another no brainer mail client) you can bring the file to pico just like that
pico /etc/X11/XF86Config-4
be sure befor you do so make a backup copy of the original XF86Config-4 file
cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.orig
so in a case you screwed the file you can have the original handy.

gonus 09-20-2002 10:22 PM

Ok goign to give that a shot. Thanx for all the help neo. You made me realize that the readme file is there for a reason:)

jetblackz 09-21-2002 01:07 AM

I'm not quite sure if Mandy has pico installed by default. vi is the choice.

Aussie 09-21-2002 08:28 AM

"mcedit /etc/X11/XF86Config-4" for the most user friendly editor.

gonus 09-21-2002 01:05 PM

I did it. Now i got x. Here is what I did for any one else who has the same problem

cd /etc/X11
vim XF86Config-4 (note I allrdy had backup)

this get u in and u can see al the text in the file. To edit type i. Press esc to exit insert mode. and if you are ready to save type :wq thwill save it. if you mess up and do not want to save :q

Thanx all for all the help neo thanx again dude

Gonus


All times are GMT -5. The time now is 05:39 AM.