Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Hardware Troubleshooting in Linux => Linux Video Support => Topic started by: Aleksandar on March 22, 2004, 09:07:03 AM

Title: Save changes in XF86Config from text mode?
Post by: Aleksandar on March 22, 2004, 09:07:03 AM
I was made some mistakes in XF86Config and now I can't start graphic mode. How can I edit and save changes from text mode!
Thanks!!! :lol:
Title: Save changes in XF86Config from text mode?
Post by: aaa on March 22, 2004, 09:17:56 PM
text-editors:
vi
pico
nano
Search for vi howtos if needed.
Next time, backup.
Title: Save changes in XF86Config from text mode?
Post by: Ricky on March 23, 2004, 06:27:19 AM
BTw.. you have asked this question in wrong forum >. Plz next time ask in app. forum.
So it is moved ..

For vi..
you can do
To open a file
Code: [Select]
vi <filenmae>
Press "insert" and then edit what u want to edit..
Then press "escape"
and then type
Code: [Select]
:save <filename>
# now to exit vi
:q
Title: Save changes in XF86Config from text mode?
Post by: neo on March 23, 2004, 10:52:48 AM
you may also use emacs
 
Code: [Select]
emacs <filename>make the changes use F10, e.
before doing that try to see if you still have the file named XF86Config~ this may be there, backup file created when you had changed the original file....
Title: Thanks!
Post by: Aleksandar on March 24, 2004, 12:51:56 PM
I did it with "vi"
Thanks!