I would like to install a chess GUI called "PyChess". Since the repo of my distribution (20.04) doesn't offer PyChes, I downloaded a .tar.gz file, extracted it, and with a simple `./pychess` (a python file in the program's folder starting the program) I can start the GUI. The trouble is, that I would like to have my application visible in the menu (when I press super+A).
I have tried moving the pychess.desktop
file into /usr/share/applications
and the corresponding icon into /usr/share/icons
, but to no avail: the application appears, but clicking it does nothing.
The content of the pychess.desktop
file is as follows:
Type=Application
Name=PyChess
Comment=PyChess is a fully featured, nice looking, easy to use chess client for the Gnome desktop
GenericName=Chess Game
Icon=pychess
Exec=env UBUNTU_MENUPROXY=/home/carl/PyChess-1.0.3/pychess
Terminal=false
Categories=Game;BoardGame;
MimeType=application/x-chess-pgn;application/x-chess-epd;application/x-chess-fen;application/x-chess-pychess;
As you can see, I have tried using an absolute path under Exec=
, where it has once been Exec=env UBUNTU_MENUPROXY= pychess
.
Thanks for taking your time.
sudo apt install pychess
<- works here, on 20.04. Its icon is in the menu after install.