Solaris Common Desktop Environment: User's Guide

Chapter 7 Using Window Manager Enhancements

Window Manager Enhancements consist of three separate applications. They are:

These three applications provide the ability to manipulate workspaces and windows from the different applications depending on the tasks you want to perform. Graphical Workspace Manager allows for changes in workspaces and windows. The Window List concentrates on the manipulation of windows. Finally, the Workspace Manager controls the number of workspaces, whether or not the Workspace Switch Area appears on the Front Panel, and the ability to restore the default values.

Graphical Workspace Manager

Graphical Workspace Manager enables you to operate a workspace "control panel". This panel displays a window containing a miniaturized picture of each workspace on the desktop. Workspaces may be created, deleted, renamed, tiled, or cascaded. Application windows may be moved (within or between workspaces), terminated, minimized, or maximized.

Figure 7–1 Graphical Workspace Manager Main Screen

Graphic

Starting the Graphical Workspace Manager

The Graphical Workspace Manager can be started either from the Desktop or from the command line.

To Start the Graphical Workspace Manager from the Desktop
  1. Right-click on the Desktop to open the Workspace menu.

  2. Choose Applications.

  3. Choose Application Manager.

  4. Double-click Desktop_Apps.

  5. Double-click GWM.

To Start the Graphical Workspace Manager from the Command Line

    Type sdtgwm at the command line.

Graphical Workspace Manager Tasks

There are a number of tasks that you can perform using Graphical Workspace Manager:

Figure 7–2 Graphical Workspace Manager – Workspace Menu

Graphic

To Add a Workspace
  1. Choose Add Workspace from the Workspace menu.

  2. Enter a name in the Add Workspace dialog box.

  3. Click OK.

To Delete a Workspace
  1. Choose Delete Workspace from the Workspace menu.

  2. Choose the workspace to be deleted from the submenu.

To Rename a Workspace
  1. Choose Rename from the Workspace menu.

  2. From the submenu, select the workspace to be renamed.

  3. Enter the new name in the Rename Workspace dialog box.

  4. Click OK.

To Switch to a Different Workspace
  1. Choose Switch to Workspace from the Workspace menu.

  2. From the submenu, select the workspace to which you want to switch.

To Cascade All Windows in a Workspace

This task executes in the current workspace.

    Choose Cascade All Windows from the Workspace menu.

To Tile All Windows in a Workspace

This task executes in the current workspace.

  1. Choose Tile All Windows from the Workspace menu.

  2. From the submenu, choose Horizontal or Vertical.

To Open the Options Dialog

    Choose Options from the Workspace menu.

For further information on the Options Dialog, see Graphical Workspace Manager Options Dialog.

Figure 7–3 Graphical Workspace Manager — Window Menu

Graphic

To Minimize a Window
  1. Select a window in Graphical Workspace Manager.

  2. Choose Minimize from the Window menu.

To Close a Window
  1. Select a window in Graphical Workspace Manager.

  2. Choose Close Window from the Window menu.

  3. (Optional) If the window you are closing is the only window that contains the application, a confirmation dialog will appear. Click OK, if you want to continue with closing the window.

To Terminate an Application
  1. Select an application window in Graphical Workspace Manager.

  2. Choose Terminate Application from the Window menu.

  3. In the confirmation dialog box, click OK.

To Move a Window to a Different Workspace
  1. Select a window in the Graphical Workspace Manager.

  2. Choose Move to Workspace from the Window menu.

  3. From the submenu, choose the workspace to which you want the window to move. You may also choose All Workspaces.

To Occupy Workspace(s)
  1. Select a window in the Graphical Workspace Manager.

  2. Choose Occupy Workspace from the Window menu.

  3. Choose the workspace(s) from the submenu.

    Multiple workspaces can be selected by pressing the Control key and selecting the additional workspaces.

  4. Click OK.

To Unoccupy Workspace
  1. Select a window in the Graphical Workspace Manager.

  2. Choose Unoccupy Workspace from the Window menu.

Graphical Workspace Manager Options Dialog

The Graphical Workspace Manager Options dialog box contains a number of options that can be set. They are:

Figure 7–4 Graphical Workspace Manager Options Dialog Box

Graphic

Window List

The Window List displays information about all windows across the CDE workspaces. Once launched, the window list will be updated in a dynamic fashion.

Figure 7–5 Window List Main Screen

Graphic

The windows can be sorted in one of the following orders:

Starting the Window List

The Window List can be started either from the Desktop or from the command line.

To Start the Window List from the Desktop
  1. Right-click on the Desktop to open the Workspace Menu.

  2. Select Applications.

  3. Select Application Manager from the Applications submenu.

  4. Double-click Desktop_Apps.

  5. Double-click Window List.

To Start the Window List From the Command Line

    Type sdtwinlst at the command line.

Performing Window List Tasks From the Window Menu

There are a number of tasks that you can perform using the Window List. They are:

Figure 7–6 Window List Window Menu

Graphic

To Go To a Window
  1. Select a window from the Window List.

  2. Choose Go To Window from the Window menu.


Note –

Depending on the setting of the Window List Options, you may be able to double-click on the Window List entry and move to the workspace that contains the selected window or have the window move to the current workspace. Refer to To Set the Action of a Double-click on a Window Entry.


To Get a Window
  1. Select a window from the Window List.

  2. Choose Get Window from the Window menu.

    Window appears in the current workspace.

To Lower a Window in the Stack
  1. Select a window from the Window List.

  2. Choose Lower from the Window menu.

To Minimize the Selected Window(s)
  1. Select a window(s) from the Window list.

  2. Choose Minimize from the Window menu.

To Close a Window
  1. Select a window(s) from the Window List.

  2. Choose Close Window from the Window menu.

  3. (Optional) If the window being closed is the only window that contains a given application, a confirmation dialog box will appear. Click OK, if you want to close the window and terminate the application.

To Terminate an Application
  1. Select a window from the Window List.

  2. Choose Terminate Application from the Window menu.

  3. (Optional) If the window being closed is the only window that contains a given application, a confirmation dialog box will appear. Click OK, if you want to close the window and terminate the application.

To Move the Selected Window(s) Into Another Workspace
  1. Select a window(s) from the Window List.

  2. Choose Move to Workspace from the Window menu.

  3. Choose a workspace or All Workspaces.

To Occupy the Selected Workspace
  1. Select a window(s) from the Window List.

  2. Choose Occupy a Workspace from the Window menu.

  3. Choose the workspace you want the window to occupy from the Occupy Workspace dialog box.

To Unoccupy the Selected Workspace
  1. Select a window(s) from the Window List.

  2. Choose Unoccupy a Workspace from the Window menu.

To Cascade all Non-minimized Windows in a Workspace

This occurs only in the current workspace.

    Choose Cascade All in Workspace from the Window menu.

To Tile all Non-minimized Windows in a Workspace

This occurs only in the current workspace.

  1. Choose Tile All in Workspace from the Window menu.

  2. Click Horizontal or Vertical from the submenu.

Performing Window List Tasks from the Option Menu

There are two tasks that can be performed from the Option Menu. They are:

Figure 7–7 Window List Option Menu

Graphic

Sorting Options
  1. Select Sort By from the Option menu.

  2. Choose one of the four sort options.

Opening the Options Dialog

    Select Options from the Option menu.

Window List Options

There are two options that you can change using the Window List – Options dialog box:

These two options allow the setting of which columns will appear in the Window List and what action will be taken when you double-click on a window item in the Window List.

Figure 7–8 Window List – Options Dialog

Graphic

To Show Columns
  1. Click the State, Application, or Workspace check boxes for that column to be displayed.

    The lack of a checkmark means the column will not be displayed.


    Note –

    The Window Title column will always be visible.


To Set the Action of a Double-click on a Window Entry

Window List provides the ability to select the effect of double-clicking a window entry in the Window List.

  1. Click the Switches to the workspace where the window resides check box.

    This has the effect of switching to the workspace that contains the selected window.

  2. Click the Moves the window to the current workspace check box.

    This has the effect of moving the selected window to the current workspace.

Workspace Manager

The Workspace Manager provides a Graphical User Interface (GUI) for controlling behavior and the number of workspaces. You will be able to add and delete workspaces using the slide bar. Workspace Manager enables you to show the Workspace Switch Area on the Front Panel instead of the workspace buttons. You will also be able to return to the default settings.

Figure 7–9 Workspace Manager Main Screen

Graphic

Starting Workspace Manager

You can start the Workspace Manager either from the Workspace Menu or at the command line.

To Start the Workspace Manager From the Desktop
  1. Right-click on the Desktop to open the Workspace Menu.

  2. Choose Applications.

  3. Choose Application Manager from the submenu.

  4. Double-click Desktop_Apps.

  5. Double-click Workspace Manager Controls.

To Start the Workspace Manager From the Command Line

    Type sdtwsm at the command line.

Using Workspace Manager Controls

There are a number of functions that can be performed using the Workspace Manager:

To Display the Workspace Switch Area on the Front Panel
  1. Select the Show Workspace Switch Area On Front Panel check box.

  2. Click OK.

To Synchronize Workspaces Across Screens
  1. Select the Synchronize Workspaces Across Screens check box.

  2. Click OK.

To Set the Number of Workspaces
  1. Move the Number of Workspaces slide bar until the desired number of workspaces appears.

  2. If the resulting number of workspaces is an addition, the new workspace icons will appear on the Front Panel.

  3. (Optional) If the resulting number of workspaces is a reduction, the Workspace Manager Delete Workspace dialog box will appear. Click OK, if you want to delete the workspace(s).

To Restore the Default Settings

    Click the Default button in the Workspace Manager Controls window.