LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 01-20-2002, 08:57 PM   #16
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47

Okay,

do you know any shell commands? to actually view the file you are going to need to use a shell text viewer, either emacs or vi.

to actually change directory use:

Code:
cd /etc/X11
to view the contents of the directory use

Code:
ls
Make sure that you HAVE logged in as root. This leads me to believe that you haven't added the lines that the GeForce needs into the file to get it to work. You may want to check out www.linuxdocs.org for the How-to on emacs.

To run emacs you simply type:

Code:
emacs (name of file, but this is not necessary!)
Using the shell isn't easy, and I hope I have put you in the right area. You will need to read the emacs how-to though.

Oh yeah, UPPER case and lower case ARE different in Linux. X11 is not the same as x11.
 
Old 01-29-2002, 05:18 PM   #17
tgonetwork
LQ Newbie
 
Registered: Jan 2002
Location: Stockton-on-Tees, England
Distribution: Mandrake 8.0
Posts: 14

Original Poster
Rep: Reputation: 0
I've got vi to work now but i'm not sure on how to find the file i type vi XF86Config and it tells me new file and i get to type. How do i view the existing file - ie where is it??
I've found a nice little document which tells you all of the editing commands but how do i find the file??
 
Old 01-29-2002, 07:06 PM   #18
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
You will need to enter in the full path. Navigate to the directory /etc/X11 by typing the first code I wrote above. Then load up vi and the file XF86Config. You should have it there.

Follow through the instructions I gave above. They should work.

Or you could load up vi and go straight to the file typing:

Code:
vi /etc/X11/XF86Config
 
Old 01-31-2002, 09:59 AM   #19
tgonetwork
LQ Newbie
 
Registered: Jan 2002
Location: Stockton-on-Tees, England
Distribution: Mandrake 8.0
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for pointing me in the right direction there i have now managed to find the XF86Config file and am able to edit it. However the vertical and horizontal sync ranges are as i specified before. So i can see no reason for changing them however i did find on the samsung site the following code which is supposed to be used as an example to set my monitor in XF86. However i'm not sure on how to add it or where to add it

Code:
ModeLine "640x480"   25.175	640 656 752 800 480 490 492 525 -hsync -vsync
ModeLine "800x600"   40		800 840 968 1056 600 601 605 628 +hsync +vsync
ModeLine "1024x768"  65		1024 1048 1184 1344 768 771 777 806 -hsync -vsync
Any pointers as to where this information should be put - i have no idea what it means but i was hoping someone else might.
 
Old 02-09-2002, 07:14 AM   #20
tgonetwork
LQ Newbie
 
Registered: Jan 2002
Location: Stockton-on-Tees, England
Distribution: Mandrake 8.0
Posts: 14

Original Poster
Rep: Reputation: 0
I've worked out where it is the modeline part is supposed to be added but i'm still non the wiser on how to get this problem working. If anyone wants to look at the XFConfig File as it exists now i'd be happy to email them it. I'd really like some help in getting this working as i aint in the mood for giving up.

Matt

p.s. also is there any software available for windows for viewing linux files without the blocks in between the lines? It's getting a bit annoying trying to read about 5 lines on one line. Thanks
 
  


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
Suse 9.1 and TFT monitor ronronson Linux - Hardware 4 11-27-2004 08:12 PM
TFT monitor detection Neorio Linux - Hardware 0 02-03-2004 08:40 PM
TFT monitor problems ckupris Linux - Hardware 5 10-12-2003 01:43 PM
TFT Monitor Problem Paul Mon Linux - General 3 09-22-2003 12:19 PM
TFT monitor and Xconfig slogg Linux - Hardware 2 01-03-2003 02:29 PM


All times are GMT -5. The time now is 09:07 AM.

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