| United States-English |
|
|
|
![]() |
Common Desktop Environment: Advanced User's and System Administrator's Guide > Chapter 12 Creating
Icons for the DesktopIcon Image Files |
|
For the desktop to use an icon image, the icon image file must:
For a color display, use X pixmap (XPM) format icon files, which typically have a.pm suffix. Otherwise, use X bitmap (XBM) format files, which typically have a .bm suffix. If transparency is used in the pixmap file, a mask file (_m.bm) is generated when the .bm file is created. See “Icon Search Path” for more information about how the desktop finds these files. Each icon and backdrop image is stored as a separate file. Typically, an icon is specified with the base part of its file name. For example, an icon might be referenced with the name mail when the file is actually stored as: <
The file-naming convention of adding suffixes helps group icons by size and type. Icon names for desktop components are in these general formats: basename.size.format Or basename.format where:
Table 12-1 “Icon Sizes and File Names” shows the recommended pixel dimensions for desktop icons Table 12-1 Icon Sizes and File Names
Table 12-2 “Desktop Components and Their Icon Sizes” shows the icon sizes used by the desktop components. In some cases, the size of the icon used depends on the display resolution. Table 12-2 Desktop Components and Their Icon Sizes
For example, if you specify an icon named mail for a data type, have a color display, and have set the File Manager preferences to small icons, the icon image used is mail.t.pm. The desktop finds an icon file, or image, by searching for the file in a list of directories. This list of directories, called the icon search path, is determined by the value of several environment variables. Which variables are used and how they are put together to create the icon search path are discussed in “Icon Search Path”. The default search path is:
The desktop can access icons on remote systems. For information on creating an icon server, see “Configuring Database, Icon, and Help Services”. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||