Bug#820628: Menu item just opens terminal

James McCoy jamessan at debian.org
Wed Apr 13 18:30:03 UTC 2016

On Sun, Apr 10, 2016 at 02:08:53PM -0500, Stephen Paul Weber wrote:
> Under LXDE there is a menu icon (created by
> /usr/share/applications/vim.desktop) with the vim icon, but when I click it
> it just opens a new terminal (vim does not launch in that terminal).

If you happen to have the mutt, python2.7, or python3.5 packages
installed, do their respective icons have the same behavior?

> It seems not very useful to put in an icon to a graphical menu to launch
> non-graphical version of vim (I have only `vim` installed, not gvim or
> anything), but if others want to keep the icon then at least it should open
> vim and not only a terminal, I think.

The desktop file specifies “Terminal=true” and “Exec=vim %F”.  This
should cause LXDE to invoke “vim %F” in whatever terminal it decides to

At a guess, this would be an LXDE problem not a problem with the desktop
file I'm providing.  However, if you can confirm whether the
aforementioned other packages have the same behavior, that would help
determine where the issue is.

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

More information about the pkg-vim-maintainers mailing list