Hardware Troubleshooting in Linux > Linux Video Support

Save changes in XF86Config from text mode?

(1/1)

Aleksandar:
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:

aaa:
text-editors:
vi
pico
nano
Search for vi howtos if needed.
Next time, backup.

Ricky:
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: ---vi <filenmae>
--- End code ---

Press "insert" and then edit what u want to edit..
Then press "escape"
and then type

--- Code: ---:save <filename>
# now to exit vi
:q

--- End code ---

neo:
you may also use emacs
 
--- Code: --- emacs <filename>
--- End code ---
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....

Aleksandar:
I did it with "vi"
Thanks!

Navigation

[0] Message Index

Go to full version