where is prefered text editor?

Christofer C. Bell christofer.c.bell at gmail.com
Thu May 10 08:55:34 UTC 2007

On 5/9/07, Henk Postma <henkpm at gmail.com> wrote:
> I am trying to change it from gedit to gvim, and can't find where. Yes
> I have changed all occurrences of gedit to gvim using galternatives,
> but text files are still opened with gedit.

It's not in the Preferred Applications dialog in Dapper, at least.
However, the following link exists in /etc/alternatives:

lrwxrwxrwx 1 root root 14 2007-01-05 10:15 gnome-text-editor -> /usr/bin/gedit

I would expect the following to work for you:

$ sudo update-alternatives --config gnome-text-editor

And then selecting gvim from the provided list (assuming it registers
itself as a possible alternative for the gnome-text-editor).


memes don't exist -- tell your friends

More information about the ubuntu-users mailing list