LinuxQuestions.org
Help answer threads with 0 replies.
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-08-2003, 07:03 PM   #1
flum
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Rep: Reputation: 0
editing XF86Config from command line


I am very much a newbie to linux and I am having trouble with my monitor and I cannot start X. I believe it is because of incorrect freq settings in XF86Config. I now have the correct freq ranges for my monitor but I do not know how to edit XF86Conifig from the command line.
I am running Mandrake 9.1 on a intel machine.

please help,
flum
 
Old 09-08-2003, 07:06 PM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
You may use emacs or you may use vi.

If you purchased your distro, both of these are documented in the users manual they provided.

You do need to log in as root.
 
Old 09-08-2003, 07:44 PM   #3
flum
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
thanks for the help I will try that.
 
Old 09-08-2003, 07:51 PM   #4
jhansman
Member
 
Registered: Aug 2003
Location: California's Central Coast
Distribution: Red Hat 9
Posts: 48

Rep: Reputation: 15
I used vi to edit that file so my nVidia driver install would take. Read the man page on vi so you know the basic keyboard commands; once you do it's a cool little editor.
 
Old 09-10-2003, 05:12 PM   #5
flum
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
After reading the errors given when I started X I realizied that my real problem was that in the XF86Config-4 file there was a section Screen2 that was referring to a Monitor2 that didn't exist. So after learning the very basics of vi from a book i got at the library ("Learning the Vi Text Editor"); I removed all occurences of Screen2 in that file and now everything works just fine. Except that I have no idea on how to get my ISA AWE64 sound card to work. Again thanks for the help.
 
  


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
Command Line Image Editing fractal_chaos Linux - Software 8 10-03-2005 06:33 PM
how to run XF86Config from the command line Pacemaker Linux - Newbie 5 04-04-2004 05:39 AM
How to run XF86Config from command line Pacemaker Red Hat 2 04-03-2004 05:41 PM
command line editing eddcrossman Linux - Newbie 7 02-16-2003 08:37 PM
Editing files at command line Goatdemon Linux - Newbie 15 08-12-2002 12:56 PM


All times are GMT -5. The time now is 02:07 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