Editing config files in CUI
Help i am having video problems with xfree how do i edit the config file in /etc/X11
|
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? |
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 |
Thanks but i am now getting a error
kedit: cannot connect to X server |
are u running it within kde ?
if u cant start kde or anyother WM then u have to use vi or pico |
how would i do that lol
|
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. |
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. |