How to modify the XFree config file. (nvidia driver)
Hi all.
Im a n00b in Linux. I've just installed the nVidia drivers, but when im editing the file i cant save it. It says i dont have the right to, even when im root. How shall i edit the X86Free config file? Im using Mandrake 9.1.... Thx for any answers. |
You have to do it while looged in as root.
|
Quote:
|
Yeah, if you su, you assume root privileges. So you are root. If you don't have a password for you root account then just hit enter when promped. Also make a password for you root account. It can be done with the command passwd root.
|
I still cant do it! Is it a way to open the text editor from concole? When i SU it does not aflict the text editor.. So i still cant edit it!
Can u give me what to write in the concole? thx in advance. |
You have to use a console text editor.
I suggest PICO. Its part of the PINE packages (so install it if the command doesnt work). Change to the directory you want to edit, and type: "pico filename" though if you want to use a GUI editor, as root: "gedit filename" or "kwrite filename" should work. |
You can also use vi. CD to the directory then type vi XF86Config. To delete use the delete key, if you want to insert some text hit the I key once and to stop inserting hit the escape key. To exit and save type :wq to exit without saving type :q!.
|
so you are using mdk9.1.
so are you sure you are editing the file --> XF86Config-4 <-- with a text editor of your choice? |
All times are GMT -5. The time now is 07:04 PM. |