neovim-gnome-terminal-wrapper icon indicating copy to clipboard operation
neovim-gnome-terminal-wrapper copied to clipboard

No icon in Alt-TAB

Open mcepl opened this issue 4 years ago • 1 comments

I hoped that I will have icon even in the Alt-TAB menu, but apparently i don’t: Snímek obrazovky pořízený 2020-01-18 22-18-02

This is my .desktop file:

[Desktop Entry]
GenericName=Neovim (gnome-terminal)
Version=1.0
Type=Application
Name=Neovim (gnome-terminal)
Icon=/usr/share/icons/hicolor/scalable/neovim.svg
Exec=nvim-wrapper %F
NoDisplay=false
Categories=X-GNOME-Other;Utility;TextEditor;
StartupNotify=false
Terminal=false
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
X-GNOME-SingleWindow=false

mcepl avatar Jan 18 '20 21:01 mcepl

I'm not sure about the syntax for paths in desktop files, but I see that you are hardcoding the icon path. If you are using a custom icon, why not place it in /usr/share/icons? Or if you are putting it somewhere in the icons directory, why not just use the canonical icon name, neovim (as I did in the provided desktop file)?

fmoralesc avatar Jan 19 '20 07:01 fmoralesc