Bug#768256: vim-gui-common: GNOME's "open with" menu displays a huge vim icon rendering the menu unusable

James McCoy jamessan at debian.org
Thu Nov 6 14:55:17 UTC 2014


On Thu, Nov 06, 2014 at 08:45:56AM +0100, Raphaël Hertzog wrote:
> On a freshly installed Jessie system where you install "vim-gnome" (and/or
> likely vim-gtk too), when you right click on a text file in nautilus and
> then open the "open with" sub-menu, you will see a huge vim icon taking
> almost the full screen and rendering the sub-menu useless.

Previously reported as 765069 and duplicates, which was reassigned to
nautilus because this icon and its location hasn't changed in at least 4
years.  You've provided some new information below, so I'll hold off on
moving bugs around until we've talked about that.

> I believe that the problem lies in the fact that you ship a .desktop
> file vim "Icon=vim" but you don't ship any icon for that in the
> standardized place:
> /usr/share/icons/hicolor/*/apps/vim.png
> /usr/share/icons/hicolor/scalable/apps/vim.svg

What isn't standardized about /usr/share/pixmaps/vim.svg?

I wouldn't have thought to install the file to /usr/share/icons/hicolor
because "hicolor" doesn't read as "default" to me.  Now that you've
brought it up, apparently that is the case according to
/u/s/d/hicolor-icon-theme/README.

In order to keep compatibility with applications that don't grok
/usr/share/icons, I suppose I should keep the existing files in
/usr/share/pixmaps and then also place them in the relevant
/usr/share/icons/hicolor subdirectories.

Does that sound good?

If so, I'll leave this bug here as well as the ones that are currently
assigned to nautilus since it should still handle an svg in
/usr/share/pixmaps better than it currently does.

Cheers,
James



More information about the pkg-vim-maintainers mailing list