LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-03-2004, 07:59 PM   #1
defubar
Member
 
Registered: Feb 2004
Location: Michigan
Distribution: Various
Posts: 55

Rep: Reputation: 16
XF86Config help


I was messing with my monitor settings in XF86Config and accidentally left 32 bit depth setting enabled and now I cant load into X Windows. How can I edit the file and save it to set it back to 24 bit? edit and none of the other xedit commands I know are working in command line. Please help this is frustrating. Thanks.
 
Old 02-03-2004, 08:04 PM   #2
defubar
Member
 
Registered: Feb 2004
Location: Michigan
Distribution: Various
Posts: 55

Original Poster
Rep: Reputation: 16
Also, I was messing with the view command and can view it and it says I'm trying to write to a read only file when I try and change things. How can I edit/save it? Hate not knowing what/how to do things.
 
Old 02-03-2004, 08:06 PM   #3
TBC Cosmo
Member
 
Registered: Feb 2004
Location: NY
Distribution: Fedora 10, CentOS 5.4, Debian 5 Sparc64
Posts: 356

Rep: Reputation: 43
vi or vim should work. Not sure what else is in slack. Can try nano or pico too.
 
Old 02-03-2004, 08:07 PM   #4
TBC Cosmo
Member
 
Registered: Feb 2004
Location: NY
Distribution: Fedora 10, CentOS 5.4, Debian 5 Sparc64
Posts: 356

Rep: Reputation: 43
Quote:
Originally posted by defubar
Also, I was messing with the view command and can view it and it says I'm trying to write to a read only file when I try and change things. How can I edit/save it? Hate not knowing what/how to do things.
Make sure you're root in order to edit system files.
 
Old 02-03-2004, 08:17 PM   #5
defubar
Member
 
Registered: Feb 2004
Location: Michigan
Distribution: Various
Posts: 55

Original Poster
Rep: Reputation: 16
Alright, I can change stuff with view when i do "vim -r XF86Config" but I don't know how to save it so I can get into X.
 
Old 02-03-2004, 08:24 PM   #6
defubar
Member
 
Registered: Feb 2004
Location: Michigan
Distribution: Various
Posts: 55

Original Poster
Rep: Reputation: 16
nm, I got it with Pico. thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
root@localhost:~# xf86config -bash: xf86config: command not found klemen Slackware 17 01-06-2005 02:56 AM
where is the XF86config-4 or XF86config file in the fedora? u2911 Fedora 4 07-24-2004 08:38 PM
where can I find the XF86Config and XF86Config-4 files? souaw Mandriva 4 04-21-2004 09:30 AM
XF86Config compared to XF86Config-4 rberry88 Linux - Newbie 2 09-21-2003 10:29 AM
Diff btw XF86Config-4 and XF86Config BorgKing Linux - Newbie 1 06-12-2002 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration