change default Gnome editor

Asked by Timmie on 2008-03-21

Hello,
please help me on this:

How do I change my default texteditor from Gedit to Scite in Gnome?

In my console I get the following:
echo $EDITOR
/usr/bin/nano

Scite is much faster and versatile.

Thanks in advance,
Timmie

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2008-03-21
Last reply:
2008-03-22
Leandro Gómez (leogg) said : #1

Hello Tim,

You have to change your defaults.list file:

1. First of all, open ~/.local/share/applications/defaults.list
2. Search for this entry: [Default Applications]
3. Add or change
text/plain=gedit.desktop
to
text/plain=scite.desktop
4. In terminal; pkill nautilus

Ready to go!

Cheers,

Can you help with this problem?

Provide an answer of your own, or ask Timmie for more information if necessary.

To post a message you must log in.