rooklift / nibbler

Chess analysis GUI for UCI engines, with extra features for Leela (Lc0) in particular.
GNU General Public License v3.0
572 stars 71 forks source link

Feature request: Add a default .desktop file #172

Closed cyqsimon closed 1 year ago

cyqsimon commented 3 years ago

Make life easier for the Linux folks. Here's an example: nibbler.desktop

[Desktop Entry]
Categories=Game;BoardGame
Comment=Nibbler is a real-time analysis GUI for Leela Chess Zero (Lc0).
Exec=/usr/bin/nibbler
GenericName=Chess Analysis GUI
Icon=nibbler
Name=Nibbler
Path=/usr/bin
Terminal=false
Type=Application

Maybe consider finally adding an icon too? I do like this suggestion: https://github.com/rooklift/nibbler/issues/47#issuecomment-657897858

rooklift commented 3 years ago

I don't really know how these work or what's required.

cyqsimon commented 3 years ago

I don't really know how these work or what's required.

Oh that's okay. It's basically the standard Linux way to add an application into the launcher. See https://wiki.archlinux.org/title/desktop_entries

I guess the Windows equivalent is creating a shortcut to Nibbler in %AppData%\Microsoft\Windows\Start Menu\Programs, only less customisable than the Linux way. But of course customisable = more work, thus the example.

What I'm suggesting is just include an example file in the source & Linux release. That way the user only needs to copy/symlink it into their $HOME/.local/share/applications/ to add Nibbler to the launcher.

bradydean commented 2 years ago

Does Nibbler ship with an icon? I can't find one in the dist.

rooklift commented 2 years ago

It does not. Laziness on my part I guess. :)