where is prefered text editor?
henkpm at gmail.com
Fri May 11 02:44:35 UTC 2007
On 5/10/07, Christofer C. Bell <christofer.c.bell at gmail.com> wrote:
> 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).
Thanks for the tip, but no, this does not help.
It was already set to /usr/bin/vim.full, and clicking on a text
document in the Nautilus file browser still opens the doc with gedit.
More information about the ubuntu-users