LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-20-2002, 10:05 PM   #1
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Rep: Reputation: 30
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.
 
Old 09-20-2002, 10:10 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
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.
 
Old 09-20-2002, 10:22 PM   #3
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
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
 
Old 09-21-2002, 01:07 AM   #4
jetblackz
Member
 
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
I'm not quite sure if Mandy has pico installed by default. vi is the choice.
 
Old 09-21-2002, 08:28 AM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
"mcedit /etc/X11/XF86Config-4" for the most user friendly editor.
 
Old 09-21-2002, 01:05 PM   #6
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I edit XF86Config-4 file? akihandyman Linux - Newbie 2 03-06-2004 06:18 PM
cant edit xf86config file slivuh Linux - Newbie 3 02-26-2004 08:34 PM
How to edit XF86config file with new driver Fear58 Linux - Games 3 02-15-2004 01:10 AM
No amatures! edit XF86config? jimsteven Linux - Newbie 2 04-25-2003 11:44 AM
New keyboard? or edit XF86Config? jimsteven Linux - Hardware 2 04-25-2003 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration