LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-25-2003, 06:13 AM   #16
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64

A few things:
Looking_Lost: I agree

Sunyard:
They cannot cd to a file location, it's not a directory They'll need to cd one up from there:
cd /etc/X11
And then they can cp their config file anywhere you/they want (them) to.



Cool
 
Old 07-25-2003, 06:26 AM   #17
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Why don't you use Midnight Commander? It's included in both RedHat and Slackware packages. It's both an editor and a file manager. Pressing F4 into midnight commander you get a nice editor and it also runs in the command line
 
Old 07-25-2003, 01:12 PM   #18
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
so I have to do all of this out of X?
 
Old 07-25-2003, 01:23 PM   #19
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
I tried Cd'ing into its directory when Iwas out of X but it said /etc/x11 not such file or directory
 
Old 07-25-2003, 01:26 PM   #20
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
well I got into the directory but how do I open the file? and is the file small enough to be backed up on to a floppy?
 
Old 07-25-2003, 02:02 PM   #21
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
You're forgetting case sensitivity. It's X11, not x11. You use an editor to open the file. Example: "vi XF86Config". If you get a bunch of ~'s like you did earlier it means you typed the file wrong. Try "ls" to find out it's exact name. The file is pretty small, and will definitely fit on a floppy. Vi has these modes to either give commands or edit stuff. Switch between them using <Esc>.
The command for quit is "q", for quit and save "qw".
 
Old 07-25-2003, 02:24 PM   #22
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
and to back it up to a floppy?
 
Old 07-25-2003, 02:32 PM   #23
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
You can if you want, but you don't have to.
To back up on floppy (assuming that the floppy is mounted to /floppy):

cp /etc/X11/XF86Config /floppy

Check if the name of XF86Config is right by typing this:

ls /etc/X11

To back up on harddisk:

cp /etc/X11/XF86Config /etc/XF86Config.bk

Either way you restore it by switching the names around, like this for floppy:

cp /floppy/XF86Config /etc/X11/XF86Config

And like this for harddisk:

cp /etc/X11/XF86Config.bk /etc/XF86Config
 
Old 07-25-2003, 09:21 PM   #24
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
Just for future reference to Rh 9 users there is a little tool to configure some of XF86Config, it is redhat-config-xfree86
 
Old 01-12-2004, 12:19 AM   #25
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
wrong page
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:56 AM
Can't edit /etc/X11/XF86Config file in ANY editor under root! please help Fear58 Mandriva 6 12-12-2004 02:19 AM
Is /etc/X11/XF86Config renamed satimis Fedora 2 08-17-2004 12:04 AM
I edited /etc/X11/XF86config --> How do I refresh it? zepplin611 Linux - Newbie 4 08-09-2004 11:14 AM
I edited my /etc/X11/XF86Config-4 .... AndreL Linux - Newbie 11 02-28-2004 06:13 PM


All times are GMT -5. The time now is 08:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration