LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Editing config files in CUI (https://www.linuxquestions.org/questions/linux-newbie-8/editing-config-files-in-cui-173487/)

jhelpme1212 04-22-2004 06:29 PM

Editing config files in CUI
 
Help i am having video problems with xfree how do i edit the config file in /etc/X11

Peacedog 04-22-2004 06:34 PM

from a terminal

su -<enter>
password <root password>

pico /etc/X11/XF86Config

pico is a text editor usable from the terminal. what problems are you having?

heema 04-22-2004 07:49 PM

or u could enter :
su
password
cd /etc/X11
kedit XF86Config

or u could download a script called "Edit as Root" that will make an option to edit as root if u right click on the file

http://www.kde-apps.org/content/show.php?content=11998

jhelpme1212 04-22-2004 11:08 PM

Thanks but i am now getting a error
kedit: cannot connect to X server

heema 04-22-2004 11:29 PM

are u running it within kde ?

if u cant start kde or anyother WM then u have to use vi or pico

jhelpme1212 04-22-2004 11:33 PM

how would i do that lol

Muzzy 04-24-2004 01:53 AM

See PEACEDOGs post (the 1st reply in this thread)

There are lots of esitors you can use, you haight not have all of them installed, and some you might like better than others.

Examples are:

pico
nano
vim
emacs

If you get command not found when you try 'pico' then change 'pico' for 'nano', and repeat until you find one that works.

slakmagik 04-24-2004 08:05 AM

Or do 'man -k edit' and look through the (mostly complete and not too irrelevant) list instead of guessing. ;)

There's also 'mcedit' which is really easy and, if you've got mc, you've got it. And joe. And so on.


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