[racket-dev] Add a .desktop file for DrScheme

From: Matt Bohy (matt.bohy at gmail.com)
Date: Sat Jul 17 22:12:12 EDT 2010

Hello,

I'm an Ubuntu user and I'm trying to get DrScheme added to the
Applications->Programming menu so that it will be easily accessible
to users.  For this to work, there needs to be a drscheme.desktop file
added in /usr/share/applications.  The file should look like this:

---- /usr/share/applications/drscheme.desktop ----

[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=DrScheme
GenericName=IDE for PLT Scheme
Comment=DrScheme is an interactive, integrated, graphical programming environment for the Scheme, MzScheme, and MrEd programming Languages.
Exec=drscheme
Icon=/usr/lib/plt/collects/icons/plt.xpm
Terminal=false
Categories=Development;IDE;
StartupNotify=true

------------------------------------------

Adding this file would mean that many Linux distributions would have
the IDE readily available in the Applications menu, rather than having
to launch it from the Terminal.  As it is now, these distributions have
to add a patch to the packaging to enable this functionality

I noticed that in version 5.0 you've changed the name from PLT Scheme to
Racket, and thus DrScheme has become DrRacket.  In that case, obviously
the name changes would need to be carried into the .desktop file as well.

Thanks, and let me know if you have any questions.  This is my first "bug"
fix so I'm sorry if I've gone about it the wrong way.

Best,
  -- Matt



Posted on the dev mailing list.