Forums » Linux
XDG Menu Icon
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
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
What kind of icon are you referring to?
When installed from Ubuntu Software Centre it comes with icons.
When installed from Ubuntu Software Centre it comes with icons.
Well, the shell installer on this website doesn't come with any icons or .desktop files.
Games that require a separate and obscure download to obtain their icon look so professional.
I know, it's awesome isn't it? LOL
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.
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.
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.
Yeah that's what these files are. A standard way to do it that works consistently between desktop environments and window managers.