Update .desktop files
The xonotic-*.desktop file shipped with 0.8.2 have some minor mistakes.
Namely the Version=2.5
key is wrong (it refers to version of the specification, not the application), and the Encoding
key is deprecated.
I offer you a rewritten version of the .desktop
files.
Updated version of xonotic-glx.desktop:
[Desktop Entry]
Type=Application
Version=1.1
Name=Xonotic (GLX)
GenericName=Arena first person shooter
GenericName[de]=Arena-Ego-Shooter
Comment=A free open-source first person shooter
Comment[de]=Ein freier Open-Source-Ego-Shooter
Icon=xonotic
Exec=xonotic-glx
Terminal=false
StartupNotify=false
Categories=Game;ActionGame
For xonotic-sdl.desktop:
[Desktop Entry]
Type=Application
Version=1.1
Name=Xonotic (SDL)
GenericName=Arena first person shooter
GenericName[de]=Arena-Ego-Shooter
Comment=A free open-source first person shooter
Comment[de]=Ein freier Open-Source-Ego-Shooter
Icon=xonotic
Exec=xonotic-sdl
Terminal=false
StartupNotify=false
Categories=Game;ActionGame
(Other changes I made: Added German translation, GenericName, category ActionGame, changed Icon and Exec to non-absolute path)
I have tested these .desktop files locally and they work. I have also run these through a simple verifier script to make sure I did not introduce any non-standard stuff.
Reference: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.1.html
Edited by Wuzzy