Bug#798475: vim: when opening file from file manager with Open With --> Vim, only xterm is used

James McCoy jamessan at debian.org
Wed Sep 9 23:44:46 UTC 2015

Control: reassign -1 gvfs-backends 1.22.2-1

On Wed, Sep 09, 2015 at 10:04:28PM +0300, Jayson Willson wrote:
> Tags: newcomer

The newcomer tag is supposed to indicate that this is a good bug for a
newcomer to fix.  I'm not sure if that's how you were using it.

> When I try to open any file with Vim from File Manager (thunar, nemo, caja
> tested) using Open With dialog and choose option provided by
> /usr/share/applications/vim.desktop, Vim is always opened in xterm (and failure
> happens, if xterm is not present), disregarding which terminal is used as x
> -terminal-emulator provider. In this .desktop file "xterm" is not mentioned,
> only
> "Terminal=true" is stated.

As you state, the .desktop file doesn't declare that xterm must be used,
so this is happening due to whatever thunar/nemo/caja are using to
invoke an application when a .desktop file specifies “Terminal=true”.
It looks like that would be gvfs-backends, so I'll reassign there to

GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>

More information about the pkg-vim-maintainers mailing list