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

To Add a System-Wide Control to a Built-In Subpanel

  1. Create a Front Panel configuration file /etc/dt/appconfig/types/language/name.fp.

  2. Define the system-wide control in the file.

    Use the CONTAINER_NAME and CONTAINER_TYPE fields to specify the container for the control:

    	CONTROL control_name
     	{
     		CONTAINER_NAME					subpanel_name
     		CONTAINER_TYPE					SUBPANEL
     		…
     	}

    See Defining Front Panel Controls.

  3. Save the configuration file.

  4. Choose Restart Workspace Manager from the Workspace menu.

    For example, the following control defined in a new file /etc/dt/appconfig/types/language/DigitalClock.fp adds the DigitalClock (in the Desktop_Tools application group) to the Personal Applications subpanel for all users.

    CONTROL DigitalClockControl
     {
     	TYPE						icon
     	CONTAINER_NAME			PersAppsSubpanel
     	CONTAINER_TYPE			SUBPANEL
     	ICON						Dtdgclk
     	PUSH_ACTION				DigitalClock
     	PUSH_RECALL				True
     }