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

To Change the Number of Workspaces on a System-Wide Basis

The default desktop configuration provides four workspaces. The user can add and delete workspaces using the pop-up menu associated with the Workspace switch.

The /usr/dt/app-defaults/C/Dtwm file has the workspaceCount resource set to the following default number of workspaces:

Dtwm*0*workspaceCount: 4
	Dtwm*workspaceCount:  1

Multiple workspaces are specified on screen 0. A single workspace is specified on any other screen.

You can create (or modify if it exists) the /etc/dt/config/C/sys.resources file to change the default number of workspaces for all new users on a workstation.

    Use the 0*workspaceCount resource to set the system wide default on the primary screen:

    Dtwm*0*workspaceCount: number
    

For example, the following resource sets the number of workspaces system wide on the primary screen to six:

Dtwm*0*workspaceCount: 6

For information about setting Workspace Manager resources, see Setting Application Resources.

For example, the following resource sets the number of workspaces to six:

	Dtwm*workspaceCount: 6