LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-03-2005, 04:17 AM   #1
zyphonic
LQ Newbie
 
Registered: Oct 2005
Posts: 9

Rep: Reputation: 0
Exclamation changing default editor


Help please

What is the command for changing the default editor to "nedit".???

thanx
 
Old 11-03-2005, 05:38 AM   #2
glvgfz
LQ Newbie
 
Registered: Sep 2005
Location: Sydney, Australia
Distribution: Vector Linux
Posts: 26

Rep: Reputation: 15
You will have to give more information.
What is it that you want to change the default for? GNOME? KDE?
 
Old 11-03-2005, 07:22 AM   #3
zyphonic
LQ Newbie
 
Registered: Oct 2005
Posts: 9

Original Poster
Rep: Reputation: 0
i want to make nedit the default editor
 
Old 11-03-2005, 09:42 AM   #4
username17
Member
 
Registered: Aug 2004
Location: Norfolk VA
Distribution: Slackware 11
Posts: 230

Rep: Reputation: 30
The default for what?

You can use nedit instead of vi, pico, emacs, whatever. Nothing is stopping you.

Now if some program is using a different editor as default instead of nedit, tell us what that program is.
 
Old 11-03-2005, 09:46 AM   #5
zyphonic
LQ Newbie
 
Registered: Oct 2005
Posts: 9

Original Poster
Rep: Reputation: 0
linux editor? text editor? im a newbie
 
Old 11-03-2005, 10:09 AM   #6
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
It helps to include some information when asking for help
Are you saying you double click a file and it opens it in an editor and you want to change which editor it opens in?

People need to know your desktop environment, as this is what controls the editor that is opened, not the core linux system.

http://en.wikipedia.org/wiki/Desktop_environment - tells you what a desktop environment is.

Two of the most common are Gnome and KDE, if you dont know which you have

gnome = http://www.gnome.org/start/2.0/scree...luis-glade.png
KDE = http://www.kde.org/screenshots/image...napshot01a.png

If it's neither post a screenshot of your one and we'll find it. Also post which distribution (flavour of Linux) you are using, which will help)

Have you tried right clicking the file>open with..
 
Old 11-03-2005, 11:03 AM   #7
zyphonic
LQ Newbie
 
Registered: Oct 2005
Posts: 9

Original Poster
Rep: Reputation: 0
It is linux.cs, command line not windows based
 
Old 11-03-2005, 03:56 PM   #8
glvgfz
LQ Newbie
 
Registered: Sep 2005
Location: Sydney, Australia
Distribution: Vector Linux
Posts: 26

Rep: Reputation: 15
AFAIK, you don't really have a default editor for the command line. Because you just don't double click on a file there is no point in having a default editor. If you want to open a file with nedit, just type "nedit filename.txt".

However some command line applications, such as cvs, svn and mutt, depend on external editors. These have their own ways of specifying the editor you wish to use.

Last edited by glvgfz; 11-03-2005 at 03:59 PM.
 
Old 11-14-2005, 07:35 AM   #9
kawatom
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
I have a question concerning the default editor. If I ssh into my server and enter "crontab -e" it will not use nano as the editor. How do I change the system to use nano as the editor? centos 3.5

Last edited by kawatom; 11-14-2005 at 07:38 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing default editor Tony Empire Linux - Software 5 12-27-2004 12:45 PM
jEDIT as default editor on a PC anon318 General 1 03-17-2004 04:00 PM
Trouble changing default editor downinthemine Linux - Software 4 12-11-2003 03:48 PM
default editor RedHat 9.0 ner Linux - Newbie 1 11-17-2003 02:07 PM
Changing default test editor in redhat 7.1 jgharagozlou Linux - Newbie 2 10-04-2001 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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