November 21, 2024, 04:08:43 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Save changes in XF86Config from text mode?  (Read 13421 times)

Offline Aleksandar

  • Linux Noob !
  • *
  • Posts: 25
Save changes in XF86Config from text mode?
« 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:

Offline aaa

  • Tux Awared
  • **
  • Posts: 38
Save changes in XF86Config from text mode?
« Reply #1 on: March 22, 2004, 09:17:56 PM »
text-editors:
vi
pico
nano
Search for vi howtos if needed.
Next time, backup.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Save changes in XF86Config from text mode?
« Reply #2 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

Offline neo

  • Linux Learner
  • ***
  • Posts: 125
    • http://www.investorsgain.com
Save changes in XF86Config from text mode?
« Reply #3 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....

Offline Aleksandar

  • Linux Noob !
  • *
  • Posts: 25
Thanks!
« Reply #4 on: March 24, 2004, 12:51:56 PM »
I did it with "vi"
Thanks!