where is prefered text editor?

Peter Garrett peter.garrett at optusnet.com.au
Fri May 11 04:32:12 UTC 2007


On Fri, 11 May 2007 00:06:37 -0400
Matthew Flaschen <matthew.flaschen at gatech.edu> wrote:

> Henk Postma wrote:
> > 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.
> 
> Don't know much about gnome configuration, but you could try (as a last
> resort) the cowboy approach if you don't really need gedit.
> 
> sudo mv /usr/bin/gedit /usr/bin/gedit.bak
> sudo ln -s /usr/bin/gedit /usr/bin/vim

Or, you can set preferred applications from Nautilus by right-clicking
relevant files, going to Properties (at the bottom) in the context menu,
and setting your preferred editor in "Open With" - ( hit "Add" ). You can
type in the path to gvim, or whatever you prefer, as a custom command if
the one you want does not appear as an option. Click the button for your
preferred editor that appears in the iist, to select it as default.

Peter




More information about the ubuntu-users mailing list