Changeset View
Changeset View
Standalone View
Standalone View
files/thonny.desktop
- This file was added.
| [Desktop Entry] | |||||
| Type=Application | |||||
| Name=Thonny | |||||
| GenericName=Python IDE | |||||
| Exec=thonny %F | |||||
| Comment=Python IDE for beginners | |||||
| Icon=/usr/share/pixmaps/thonny.png | |||||
| StartupWMClass=Thonny | |||||
kyrios123: I think it would be cleaner to make a symbolic link to `/usr/share/pixmaps/` or… | |||||
| Terminal=false | |||||
| MimeType=text/x-python; | |||||
| Actions=Edit; | |||||
| [Desktop Action Edit] | |||||
| Exec=thonny %F | |||||
| Name=Edit with Thonny | |||||
Done Inline Actionsperhaps you can nuke the blank line. kyrios123: perhaps you can nuke the blank line. | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.
I think it would be cleaner to make a symbolic link to /usr/share/pixmaps/ or /usr/share/icons/hicolor/??x??/apps and set only the icon file name in the desktop file. Especially in this precise case because a future stack upgrade of python to 3.7 would break this and nobody would notice until someone reports the problem.
PS: Undocumented feature %python3_version% will return the version number (like 3.6 or 3.7, ...). You can use this for the symbolic link.