The following patches add the creation of a .desktop file for idle under development.
Created attachment 226615 [details, diff] Python 2.6 patch
Created attachment 226617 [details, diff] Python 3.1 patch
Only .xpm, .svg and .png are legal icons in desktop entry, sorry. http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html ´The image files must be one of the types: PNG, XPM, or SVG, and the extension must be ".png", ".xpm", or ".svg" (lower case). The support for SVG files is optional. Implemenations that does not support SVGs should just ignore any ".svg" files. In addition to this there may be an additional file with extra icon-data for each file. It should have the same basename as the image file, with the extension ".icon". e.g. if the icon file is called "mime_source_c.png" the corresponding file would be named "mime_source_c.icon".´
(In reply to comment #3) > Only .xpm, .svg and .png are legal icons in desktop entry, sorry. Hmm, I can pull a gpl python logo in svg from somewhere. But how is this best handled? We will have collision if if we store it with a general name (python-logo.svg) and in a general place (/usr/share/pixmaps).
Could you report enhancement request to upstream? http://bugs.python.org/
Closing as UPSTREAM.