There are several ways to customize the workspace switch:
Changing the number of workspaces
Changing the layout of the switch
Changing the controls in the switch
Modify the following Workspace Manager resource:
Dtwm*workspaceCount: n
For more information, see To Change the Number of Workspaces on a System-Wide Basis.
For example, the following definition defines a three-row switch.
SWITCH Switch { CONTAINER_NAME box_name NUMBER_OF_ROWS 3 … }
Create a Front Panel configuration file with the control definition.
Create the icon for the control. The recommended size is 16 by 16 pixels.
For example, the following control puts a Terminal control in the switch.
CONTROL SwitchTerminal { TYPE icon CONTAINER_NAME Switch CONTAINER_TYPE SWITCH POSITION_HINTS 3 ICON Fpterm LABEL Terminal PUSH_ACTION Dtterm HELP_TOPIC FPOnItemTerm HELP_VOLUME FPanel }
The control uses a built-in icon and the same help topic used by the Terminal control in the Personal Applications subpanel.