LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Editing Xconfig... (https://www.linuxquestions.org/questions/linux-software-2/editing-xconfig-92439/)

Mystic0 09-13-2003 02:29 PM

Editing Xconfig...
 
I installed the Nvidia graphics driver, and I found the xconfig file changed it, but I can't save it because I'm not in root. How do you do this? Is there a better editor out there? The program I used was just a simple editor, KWrite.

DrOzz 09-13-2003 03:15 PM

well you will go into the terminal and type ::
su -
and then type your root password when prompted..
you will then have root privledges....
then the only other thing you have to do is type ::
cd /etc/X11
to get into the root directory for the file and use a text editor of choice to edit the file...two examples would be ::
vi XF86Config-4
pico XF86Config-4

so in the example i used two text editors one called vi(m) and the other called pico, there are numerous others but these are the two most popular ones...so you can use whatever you wish to edit the changes to the file..

Mystic0 09-13-2003 05:59 PM

Thank you, it works now.


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