Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 10-05-2003, 06:13 PM   #1
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Rep: Reputation: 30

I was messing around with some monitor settings and set it to a flat panel. I did this because I'm on an LCD, and was hoping that it would possibly mean the same thing. Thing is, now I can't get into a GUI. I'm new to Linux so I'm kind of stumped. I can get into a terminal and all, so I ran xf86config. None of that worked.

I then cd /etc/X11
vi XF86Config-4 (I have an XF86Config, and an XF86Config-4, don't know which one to mess with) and then came to the line that says monitor flat panel 1280x1024

I don't know exactly what I need to edit. I do know that I need to change it from a flat panel. I just don't know how to work vi so well, so I don't know how to save changes to any files I need, or if I'm even opening them right :/

I read the man vi pages and didn't help me a whole bunch.

Anyone know what I need to get rid of out of my XF86Config-4 (or XF86Config for that matter?) to make my monitor work in GUI again, and if so could you please run me through a basic opening/saving files in vi?
Old 10-06-2003, 03:34 AM   #2
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
God, vi is a tricky sod. I'd use emacs if you have it. Then ^x^s will save. On vi, I think you insert text by pressing i to go into edit mode, then [esc] to get out, then :w should write a file and :q should exit.
XF86Config-4 is the one that you need to play with, and you should be able to do everything you need using xf86config. The reason this probably hasn't already worked is that by default it writes to /etc/X11/XF86Config. At the end you should answer no to all of the locations it suggests, and then write to /etc/X11/XF86Config-4. But back up your original first. You might also find that you have an automatic backup, which will be /etc/X11/XF86Config-4~. Copying this over the other version may fix it.
Old 10-06-2003, 06:43 PM   #3
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
Got it all fixed. Learned a LITTLE Vi and tinkered, seems to be working back like it was now. I think you can save with Vi how you were saying, but you press i to edit text, press esc twice, and then press ZZ and it saves. Thanks for the 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
XF86 and Debian 3.0 r2 Andysname Debian 1 05-27-2004 05:46 PM
Upgrade XF86 ? ShiShi *BSD 2 03-17-2003 07:00 AM
xf86 adam_boz Linux From Scratch 2 08-12-2002 01:06 AM
Xf86 elist Linux - General 4 01-23-2002 05:33 PM
XF86 4.2.0 is out... isajera Linux - Software 1 01-20-2002 08:56 AM > Forums > Linux Forums > Linux - Distributions > Mandriva

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

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