LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 05:13 AM   #16
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69

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, 05:26 AM   #17
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
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, 12: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, 12: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, 12: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, 01:02 PM   #21
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
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, 01: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, 01:32 PM   #23
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
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, 08: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-11-2004, 11:19 PM   #25
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
wrong page
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:12 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