The Front Panel is relatively easy to customize manually. It is defined
by a database of configuration files. The default Front Panel configuration
is defined in:
/usr/dt/appconfig/types/C/dtwm.fp
Front Panel configuration files end with the extension ".fp".
By default, Front Panel configuration files are found in the following
directories:
$HOME/.dt/types/
/etc/dt/appconfig/types/C/
/usr/dt/appconfig/types/C/
Where there is a conflict between components of a definition, the following
rules apply:
+ If the components have the same name, the first component read is used
+ If two components specify the same position, the are placed in the order
in which they are read
To remove a control from the Default CDE's Front Panel:
1. Copy its definition from
/usr/dt/appconfig/types/C/dtwm.fp
into a file with the ".fp" extension residing in the directory:
$HOME/.dt/types
2. Add the following text to the control definition:
DELETE True
3. Choose "Restart WorkspaceManager ..." from the root menu.
For example, to remove the Text Edit application from the Front Panel
copy its text from:
/usr/dt/appconfig/types/C/dtwm.fp
into
$HOME/.dt/types/textedit.fp
then add the line:
DELETE True
The control definition should look like:
CONTROL TextEditor
{
TYPE icon
CONTAINER_NAME Top
CONTAINER_TYPE BOX
POSITION_HINTS 4
ICON Fppenpd
LABEL Text Editor
PUSH_ACTION Dtpad
DROP_ACTION Dtpad
HELP_TOPIC FPOnItemTextEditor
HELP_VOLUME FPanel
DELETE True
}
Finally, choose "Restart Workspace Manager..." , from the root menu. The
Text Editor will be removed from the Front Panel.