Results 1 to 6 of 6
I was trying to install drivers for a touchscreen the other day, and modified /etc/X11/XF86-config. Apparently something went wrong, and when I try and start X, I get an error ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-10-2005 #1Just Joined!
- Join Date
- Feb 2005
- Posts
- 9
Red text editor
I was trying to install drivers for a touchscreen the other day, and modified /etc/X11/XF86-config. Apparently something went wrong, and when I try and start X, I get an error from that file, and KDE won't load. I would be happy to remove or comment out those lines, but when I type "ed XF86-config" at the command line (as root) it only returns the file size. (The same thing happens for red) Am I missing something, or is there another way to edit this file from the command line? Thanks!
- 03-10-2005 #2
I usually use midnight commander to get to the file in question, then I think to edit it you press F5 (not sure about this last, but at the bottom of the screen, there are numbers for different things like copy, move, edit...).
Stumbling around the 'net:
www.cloudyuseful.com
- 03-10-2005 #3Linux Enthusiast
- Join Date
- Feb 2005
- Location
- SE, Stockholm
- Posts
- 512
Or if you'd preffere to learn about an editor that works in most Unx flavours, try "vi"
To insert text at current posiotion just press i when done press ESCCode:vi <filename>
and typ :wq
- 03-10-2005 #4Just Joined!
- Join Date
- Feb 2003
- Posts
- 37
type mc
to start midnight commander
- 03-10-2005 #5Linux Enthusiast
- Join Date
- Dec 2004
- Location
- Rockin' in the USA!!!
- Posts
- 603
I usually use nano
- 03-10-2005 #6Linux Enthusiast
- Join Date
- Jan 2005
- Posts
- 575
Re: Red text editor
You mean it returns the file size and then exits ? What happens if you use it with another file ? What happens if you don't specify a file name at all ?
Originally Posted by piperx


Reply With Quote
