Preferred Groups and Items

Some programs may wish to display the meta-data provided by your KFile plugin in a particular order. For example, when Konqueror is displaying things in Info List View mode (as shown below), the order of the fields is determined by the fields in the .desktop.

Figure 7. Konqueror, in Info List View mode

Depending on what the most important information is in the metadata, you can provide hints to specify what information should be shown in what order.

You simply specify the groups and items, separated by commas. An example (extracted from the EXR KFile plugin that I wrote) is shown below:

Example 10. kfile_exr.desktop example

	     1	PreferredGroups=Info,Standard
     2	PreferredItems=Dimensions,Thumbnail,ThumbnailDimensions,Version,Comments,Owner