Forums » Linux

XDG Menu Icon

Jun 25, 2014 abortretryfail link
Most Linux users are knowledgeable enough that this doesn't matter, but why not include an icon file and .desktop file with the installer? That way it'll appear in the menus for major desktop environments.

example guildsoftware.vendetta.desktop:
-----------------------------------
[Desktop Entry]
Name=Vendetta Online
Comment=Vendetta Online 3D Space Combat MMO
Exec=.vendetta/vendettaupdaterwhatever
Icon=.vendetta/icongoeshere.png
Categories=Game
Terminal=false
Type=Application
-----------------------------------

Then just have the installer do:
xdg-desktop-menu install guildsoftware-vendetta.desktop
Jun 27, 2014 tuxdroid9 link
What kind of icon are you referring to?
When installed from Ubuntu Software Centre it comes with icons.
Jun 30, 2014 abortretryfail link
Well, the shell installer on this website doesn't come with any icons or .desktop files.
Jun 30, 2014 vskye link
They can always just download the icon.

http://www.vendetta-online.com/x/msgboard/6/14000#178741
Jul 01, 2014 Pizzasgood link
Games that require a separate and obscure download to obtain their icon look so professional.
Jul 01, 2014 vskye link
I know, it's awesome isn't it? LOL
Aug 20, 2014 incarnate link
Games that require a separate and obscure download to obtain their icon look so professional.

Well, it's not like Linux has been a "consistent" environment either. But, we'll look into it. Last time we did (which was a number of years back), there were too many differences between KDE vs Gnome vs whatever other window managers. There was no "standard" way to include an icon and have it actually work across most of the cases (might work on some, not others, etc).

The Ubuntu Software Center version obviously does, because that.. is actually a consistent environment.

Anyway, we'll take a look at it.
Aug 21, 2014 Pizzasgood link
I was only talking about the actual image file, for the record. Lack of a .desktop file doesn't seem unprofessional to me, but lack of even a simple image file does seem kind of off.
Aug 21, 2014 abortretryfail link
Yeah that's what these files are. A standard way to do it that works consistently between desktop environments and window managers.