SuperDisk / hUGETracker

The music composition suite for the Nintendo Game Boy
https://superdisk.github.io/hUGETracker/
280 stars 12 forks source link

Add a .desktop file #169

Open cippaciong opened 1 month ago

cippaciong commented 1 month ago

Hello, it would be nice if the Linux package shipped a hugetracker.desktop file, so that the application would show up also in desktop environment application menus or application launchers like Rofi.

I'm testing it locally with a manually created desktop file and it's working fine. I'm just not sure what's the correct value for the Icon field and if we should add anything else to Categories to support multiple desktop environments.

Here's the file:

[Desktop Entry]
Name=hUGETracker
Comment=The music composition suite for the Nintendo Game Boy
GenericName=hUGETracker
Exec=hugetracker %U
Icon=hugetracker
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Utility;
ISSOtm commented 1 month ago

Good idea! I just think that this file should be tweaked further. It's also a good idea to install some MIME type detection files to integrate even better; you can look into how SameBoy does it (and all involved files) for inspiration.