Most workspace customization, such as changing workspace names
and the number of workspaces, can be done by the user using the
desktop's interface. However, the Workspace Manager provides resources
for setting system-wide defaults.
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 Workspace Manager provides a resource for changing the
default number of workspaces.
Use the workspaceCount
resource to set the number of workspaces:
Dtwm*workspaceCount: number
For information about setting Workspace Manager resources,
see “Setting
Application Resources”.
For example, the following resource sets the number of workspaces
to six:
To Provide
System-Wide Workspace Names |
 |
Internally, the workspaces are numbered by the numbering convention
wsn,
where n is 0,
1, 2, and so on. For example, the default four workspaces are numbered
internally ws0 through ws3.
Use the title resource
to change the name of a specified workspace:
For information about setting Workspace Manager resources,
see “Setting
Application Resources”.
For example, the following resources set the default four
workspaces to the specified names:
Dtwm*ws0*title: Anna Dtwm*ws1*title: Don Dtwm*ws2*title Julia Dtwm*ws3*title Patti |
To Create
Additional Backdrops |
 |
Create the backdrop images. They can be bitmap or pixmap files.
Place the backdrops in one of the
following directories. (You may have to create the directory.)
System-wide backdrops:
/etc/dt/backdrops
Personal backdrops: HomeDirectory/.dt/backdrops
Choose Restart Workspace Manager from the Workspace
menu.
The system-wide and personal backdrops are added to the built-in
backdrops in /usr/dt/backdrops.
You can replace an existing built-in backdrop by creating
a personal or system- wide backdrop with the same name.
To Replace the Backdrop With a Graphics
Image |
 |
The backdrops are layered over the display's
root window. The Style Manager Backdrop dialog box provides a
NoBackdrop setting in which the backdrop is transparent.
There is only one root window behind all the workspace backdrops.
Thus, a graphics image placed on the root window persists across
all workspaces. You can specify which workspaces cover up the root
window with a backdrop. However, the image visible when NoBackdrop
is in effect will be the same for every workspace.
Create the graphics image. It must be in a format for which
a tool exists to display the image on the root window. For example,
if you intend to use xsetroot,
you must create a bitmap file.
If it doesn't already exist, create an executable
file HomeDirectory/.dt/sessions/sessionetc.
The sessionetc file is run
each time the user logs in.
Place the command to display the image in the sessionetc
file.
For example, the following command tiles the root window with
the specified bitmap:
xsetroot -bitmap /users/ellen/.dt/icons/root.bm |