Solaris Common Desktop Environment: Advanced User's and System Administrator's Guide

To Associate an Icon with an Application Window

  1. Set the iconImage resource for Workspace Manager as follows:

    Dtwm*clientname*iconImage: icon_file_name

    To determine the correct value for clientname, open Application Manager and double-click Window Properties in the Desktop_Tools application group. When you select a window, its properties are listed. The WM_CLASS property displays the window's class name in quotes.

    For more information about setting resources, see Setting Application Resources.

  2. Choose Restart Workspace Manager from the Workspace menu.

    To verify that the icon has been recognized by Workspace Manager, minimize the window whose icon you are trying to modify.


    Note –

    Some applications do not allow their default window icon to be overridden.