I am writing a python application that I am adding a
.desktop file for. The application starts fine and shows up correctly in the activities (with its icon), but in the dash on the left, it has no icon, and shows up with a “python3” tooltip.
How does the icon and tooltip in the gnome dash get determined? Is it from the
.desktop file or some other way?
This is my
[Desktop Entry] Name=MyTestApp StartupNotify=true Exec=/home/dolfandringa/.virtualenvs/kivy_playground/bin/python test.py Terminal=false Path=/home/dolfandringa/kivy_playground/kivymd_app_icon/ Icon=/home/dolfandringa/kivy_playground/kivymd_app_icon/logo.png Type=Application
I am currently running Fedora 33 with Gnome 3.38.2 and both Wayaland and Xorg (tried separately).
If you want to replicate, you can try https://github.com/dolfandringa/kivy_playground
To get it running, clone it and then
mkvirtualenv -p /usr/bin/python3 kivy_playground pip install -r requirements
~/.local/share/applications and adjust the path names in it and launch MyTestApp from gnome shell.