Java Desktop System Release 3 Administration Guide

Directory Entry Files

A directory entry file is a data file that provides information about a menu. The directory entry file specifies the details for the menu such as a name, a tooltip, and an icon. Directory entry files have a .directory file extension.

The following is a sample directory entry file:

[Desktop Entry]
Name=Accessories
Comment=Accessories menu
Icon=gnome-util.png
Type=Directory

Table 2–5 describes the most important keys in directory entry files.

Table 2–5 Directory Entry Keys

Directory Entry Key 

Description 

Name

Specifies the name of the menu. This name is displayed on the menu.  

Comment

Specifies a short description of the menu. The comment is displayed as a tooltip when you point to the menu.  

Icon

Specifies the filename of an icon that represents the menu. Does not specify the path to the filename, or the file extension.  

Type

Specifies the type of menu. The value of this key is always Directory.