<div dir="ltr">Thank you very much!<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Aug 10, 2013 at 8:54 PM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've added support for ".desktop" files for GUI launchers on Unix. When<br>
an "info.rkt" file specifies a launcher for "<name>.rkt", then if<br>
"<name>.desktop" exists, "<name>.desktop" is used as the initial<br>
content of the executable's ".desktop" file; "Exec" and "Icon" entries<br>
are added automatically to the end. A "<name>.png" or "<name>.ico" file<br>
provides the ".desktop" file's icon.<br>
<br>
For an in-place installation, installation-scoped ".desktop" files go<br>
into "share/applications", and they use relative paths for "Exec" and<br>
"Icon". Relative paths are not actually supported in ".desktop" files,<br>
so the ".desktop" files are essentially templates for creating useful<br>
".desktop" files. (Relative paths are used, even though they are not<br>
supported in ".desktop" files, because an in-place installation is<br>
meant to have no absolute paths.)<br>
<br>
For a Unix-style installation, then installation-scoped ".desktop"<br>
files have full paths. The destination for ".desktop" files can be<br>
adjusted with the `--appsdir' flag to `configure' (or by an end user<br>
when installing a distribution). The default destination is<br>
"${prefix}/share/applications", which means that ".desktop" files to<br>
the usual system-wide place when "${prefix}" is "/usr".<br>
<br>
Finally, if a package that provides an application is installed in user<br>
scope, then the generated ".desktop" file in<br>
"~/.racket/<version>/share/applications" uses full paths, so it should<br>
work as expected.<br>
<br>
_________________________<br>
Racket Developers list:<br>
<a href="http://lists.racket-lang.org/dev" target="_blank">http://lists.racket-lang.org/dev</a><br>
</blockquote></div><br></div>