LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-10-2005, 12:08 AM   #1
heffo_j
Member
 
Registered: Jan 2005
Location: Caboolture, Oz
Distribution: Currently Zorin 17
Posts: 160

Rep: Reputation: 16
How to edit a config file in FC4?


G'day all,

I am relatively new to Fedora. I am accustomed (from other distros) to being able to alter config files in a graphical mode using a text editor. The editor (depending on the distro) would have an su option. In FC4 I can't do it. What is the trick please? I want to edit the "updatedb.config" file.

Regards
John
 
Old 12-10-2005, 12:48 AM   #2
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
I don't quite understand what you mean "in FC4 I can't do this".
From a terminal as root you can type "gedit /path/to/name.of.conf" or
"vi /path/to/name.of.conf.file".

Or have I missed your point?
 
Old 12-10-2005, 02:34 PM   #3
heffo_j
Member
 
Registered: Jan 2005
Location: Caboolture, Oz
Distribution: Currently Zorin 17
Posts: 160

Original Poster
Rep: Reputation: 16
G'day brother,

My point was that with Gedit(and other text editors), I could not actually change a config file. Some other distros allow this with such a program. With Fedora it seems the only way to do it is through the terminal.

Thank you for your response.

Regards
John
 
Old 12-11-2005, 01:20 AM   #4
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
Uh?
Then it's because gedit is not installed or broken because (for example)
"gedit /etc/X11/xorg.conf"
should work as expected as long as you are root.
When you try to do this from the command line what error messages do you get?
 
Old 12-11-2005, 01:26 AM   #5
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
If you like a GUI editor then install midnight commander

yum install mc

to lauch the program

its just mc

I like midnight command because it allows me to see the file system.
 
Old 12-11-2005, 03:59 AM   #6
heffo_j
Member
 
Registered: Jan 2005
Location: Caboolture, Oz
Distribution: Currently Zorin 17
Posts: 160

Original Poster
Rep: Reputation: 16
Yes Midnight Commander is great. It is similar to the good old Total Commander nee Windows Commander. Thanks for the link I'll load it up. I used this onw of the KDE distros.

Regards
John
 
Old 12-12-2005, 06:20 PM   #7
kurtdriver
Member
 
Registered: May 2005
Location: Vancouver, Canada
Distribution: Fedora 18, Puppy Linux, various others
Posts: 107

Rep: Reputation: 15
Are you running these text editors as root or trying to become root from within the program? If you open a terminal, and then become root, you should be able to launch your editor with root priveledges. My apologies if you have been doing it that way, you could also log on to a virtual console, become root, and then run an non-graphical editor. I am fond of jed, btw. Good Luck, Kurt
 
Old 12-12-2005, 09:20 PM   #8
heffo_j
Member
 
Registered: Jan 2005
Location: Caboolture, Oz
Distribution: Currently Zorin 17
Posts: 160

Original Poster
Rep: Reputation: 16
Thanks Kurt for your comment. Yes, I was trying to get into root from within the program; something other distros allow (e.g. Krusader). I hadn't worked out that I needed to go through the terminal window to boot these porgrams as root. I'm okay with it now; it just takes time to get used to the different ways of handling things between distros.

I don't know Jed but I'll give it a go.

Regards
John
 
  


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
Edit which config file to allow for dif resolutions Glas Slackware 9 09-24-2004 01:26 AM
Simple question - how to edit config file in Suse 9.1? rollo Linux - Distributions 3 07-18-2004 08:47 AM
lilo config edit problem lestoil Linux - Newbie 2 05-03-2004 03:31 PM
scripts to edit config files twistedpair Linux - General 1 01-16-2004 12:34 PM
Really dumb question but how do I edit a config file ? gavinc Linux - Newbie 2 08-19-2003 01:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:21 AM.

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