LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 06-27-2004, 05:48 PM   #1
Delarama
LQ Newbie
 
Registered: Apr 2004
Posts: 18

Rep: Reputation: 0
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
 
Old 06-27-2004, 06:00 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
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
 
Old 06-27-2004, 06:19 PM   #3
Delarama
LQ Newbie
 
Registered: Apr 2004
Posts: 18

Original Poster
Rep: Reputation: 0
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.
 
Old 06-27-2004, 06:23 PM   #4
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
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?
 
Old 06-27-2004, 06:44 PM   #5
Delarama
LQ Newbie
 
Registered: Apr 2004
Posts: 18

Original Poster
Rep: Reputation: 0
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
 
Old 06-27-2004, 06:49 PM   #6
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
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.
 
Old 06-27-2004, 07:22 PM   #7
Delarama
LQ Newbie
 
Registered: Apr 2004
Posts: 18

Original Poster
Rep: Reputation: 0
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
 
Old 06-27-2004, 08:17 PM   #8
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,190

Rep: Reputation: 159Reputation: 159
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.
 
Old 06-28-2004, 12:48 AM   #9
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
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
 
Old 06-28-2004, 02:29 AM   #10
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

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


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
Startup file on debian linux x86_64, looking to edit Wolvenmoon Linux - Software 1 08-19-2005 09:29 AM
Can't edit /etc/X11/XF86Config file in ANY editor under root! please help Fear58 Mandriva 6 12-12-2004 01:19 AM
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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration