LinHES Forums
http://forum.linhes.org/

Wha is the easiest way for a newbie to edit a file?
http://forum.linhes.org/viewtopic.php?f=6&t=14191
Page 1 of 1

Author:  jb3 [ Thu Feb 15, 2007 11:55 am ]
Post subject:  Wha is the easiest way for a newbie to edit a file?

What is the easiest way for a linux illiterate to edit a mythtv file? I located xorg.conf, for example, using the GUI in the Knoppix 5 cd, but can't figure out how to get permission to save the modified file or to log on as root. Thanks for your help.

Author:  tohc1 [ Thu Feb 15, 2007 1:52 pm ]
Post subject: 

Don't know about the GUI on your cd but to edit your file:

Go to a command line - alt-x if your in the mythtv menus will bring up a console.

Log in as root - type
Code:
su

enter your password

I use nano to edit files:
Code:
 nano /etc/X11/xorg.conf


When your done
Code:
exit
will logout as root
and again will close the terminal.

Remember that in linux filenames are case sensitive.

Author:  jb3 [ Thu Feb 15, 2007 1:59 pm ]
Post subject: 

Thank you, tohc1, for your very helpful reply.

Author:  tjc [ Thu Feb 15, 2007 7:34 pm ]
Post subject: 

I generally recommend using "su -" to avoid certain oddities with the environment setup. See this wiki page for more LinuxTips

BTW - We usually recommend nano for first timers because it's very simple and has onscreen help. If you have more sophisticated editing needs we can make more advanced recommendations.

Author:  jb3 [ Sat Feb 17, 2007 7:08 pm ]
Post subject: 

Thanks again. Nano worked exactly as described.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/