Application auto-discovery via the .desktop file

The Desktop automatically discovers applications that have a .desktopfile in the /usr/share/applicationsdirectory. This file always starts with "[Desktop Entry]" and continues with a number of key value pairs that define the application to the Desktop, including:

Here's a sample .desktop file:

[Desktop Entry]
Version=1.0.0
Encoding=UTF-8
Name=PyGlade
Type=Application
Exec=/usr/bin/pyglade
Terminal=false
Icon=pyglade_26
Categories=Applications

Currently, applications with a valid .desktop file are presented to the user in the (Applications) > Extras menu.

The executable and icon files are described below.