<div dir="ltr"> <div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">
</div>For the archives, I am having my web server deliver<br>
application/x-racket. Using the `xdg-mime` command<br>
I install bindings for this MIME type to a .desktop application, and<br>
my web browser does the right thing. I believe that xdg-mime is<br>
supposed to be a cross-platform tool; at the very least, it works on<br>
multiple Linux distributions.<br>
<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
It would be very nice if the next major release of the Racket<br>
installer placed a .desktop file in /usr/share/applications<br>
(or wherever else these things are allowed to go). I believe the<br>
standards are described at <a href="http://freedesktop.org" target="_blank">freedesktop.org</a>.<br></blockquote><div><br></div></div>On the latest version, it now does that:<br><br>% cat /usr/share/app-install/desktop/racket:drracket.desktop<br>
[Desktop Entry]<br>X-AppInstall-Package=racket<br>X-AppInstall-Popcon=50<br>X-AppInstall-Section=universe<br><br>Name=DrRacket<br>Comment=IDE for Racket<br>Exec=drracket<br>Terminal=false<br>Type=Application<br>Categories=Development;<br>
Icon=plt<br>StartupNotify=true<br><br>X-Ubuntu-Gettext-Domain=app-install-data<br><br><br></div><div class="gmail_extra">It does not seem to install a mime type though (yet?).<br><br>Laurent<br></div></div>