godot/misc/dist/linux/org.godotengine.Godot.desktop
backwardspy 0118a95976 set StartupWMClass in linux .desktop file
this allows linux app launchers and docks to correctly associate the godot project selector & editor windows with the icon used to launch godot.
it prevents this problem specifically: https://askubuntu.com/questions/1144214/why-does-my-custom-launcher-file-create-two-icons-on-the-launcher-bar

(cherry picked from commit 7b346258a9)
2022-03-28 23:43:26 +02:00

13 lines
306 B
Desktop File

[Desktop Entry]
Name=Godot Engine
GenericName=Libre game engine
Comment=Multi-platform 2D and 3D game engine with a feature-rich editor
Exec=godot %f
Icon=godot
Terminal=false
PrefersNonDefaultGPU=true
Type=Application
MimeType=application/x-godot-project;
Categories=Development;IDE;
StartupWMClass=Godot