LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do i manually edit xf86config file in Debian (http://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-manually-edit-xf86config-file-in-debian-198414/)

Delarama 06-27-2004 05:48 PM

How do i manually edit xf86config file in Debian
 
Hi
I would like to edit the xf86config manually (like in dos when you use notepad to edit .ini files). Can anyone give me a walkthrough?
Thanks

Tinkster 06-27-2004 06:00 PM

What exactly is the question?

What is the name of the editor?
Which section do I need to edit for which purpose?
How does one use vi/emacs/pico?
Which editor is installed on my machine?



Cheers,
Tink

Delarama 06-27-2004 06:19 PM

Hi
I want to change a couple of entries in the video portion of the xf86config file. I'm not sure as to what is loaded as i have not been able to boot into the gui.

Peacedog 06-27-2004 06:23 PM

have a look at this before mucking around in your configuration file

http://www.linuxquestions.org/questi...ticle&artid=16

that should help you get going. if you haven't been able to get x working at all, what video card do you have?

Delarama 06-27-2004 06:44 PM

I have the ati radeon 9600. I read a thread in this forum where the individual changed setting and it solved his video problem of starting x-windows

Peacedog 06-27-2004 06:49 PM

with this answered it points back to Tinkster's post, it's simply a matter of which editor, and which section. i'd suggest pico, as the simplest to use. you'll need to understand how to navigate the keyboard a bit, but imo it's easier to deal w/than some of the other editors.
good luck.

Delarama 06-27-2004 07:22 PM

Hi Again
I did the changes on the config file but i keep getting the same error "screens not found". It's as if the config file isn't being overwriiten. It's always looking fot the ati card even though i chose a generic card with conservative values. I wish i had pico but afetr doing an aptget, it is not on my installation cd's. Is there another editor i could use?
Thanks

jens 06-27-2004 08:17 PM

You do need to understand vi(m).
Open a file like this(as root):

Code:

vi filename
next press Insert to change anything.

For saving and quiting:
first press Esc.
next type:
Code:

:wq!
Job done. :)

comp12345 06-28-2004 12:48 AM

Quote:

Originally posted by Delarama
Hi Again
I did the changes on the config file but i keep getting the same error "screens not found". It's as if the config file isn't being overwriiten. It's always looking fot the ati card even though i chose a generic card with conservative values. I wish i had pico but afetr doing an aptget, it is not on my installation cd's. Is there another editor i could use?
Thanks

Use nano. It's just like pico, but it's installed by default with Debian

TigerOC 06-28-2004 02:29 AM

Non editor method for XF86Config-4 is dpkg-reconfigure xserver-xfree86 and use advanced method for the graphics card.


All times are GMT -5. The time now is 06:22 AM.