1    Introducing the Common Desktop Environment

The Common Desktop Environment (CDE) provides an easy method of interacting with the operating system. It is a jointly developed graphical user interface based on industry standards, which include the X Consortium's X Window System and the Open Software Foundation's Motif user interface. By using the CDE interface, you can use the mouse or keyboard to navigate and interact with applications.

CDE presents a visual desktop that you can customize. From the desktop, it is easy to access and manage applications. The desktop itself offers a Front Panel, a graphical display at the bottom of the screen area that provides access to applications, printers, and frequently used objects including online help. It also offers you the option of working in different workspaces. A workspace is the screen itself, which includes the Front Panel. By using a control on the Front Panel, you can switch between different workspaces.

This chapter provides a brief overview of the following:

1.1    Logging In and Accessing Applications

The login screen, displayed by the Login Manager, provides you access to the desktop. Not only can you enter your login name and password, it also provides an Options menu where you can select the type of session you want to begin, and the language to use in your session.

You have the option of starting one of the following sessions:

This section contains the following information:

The default language is set by your system administrator; however, you can also access other languages that are installed on your system. Choosing a language from the Options menu sets the environment variable LANG for the duration of your session. The default language is restored when you end your session. See Chapter 9 for information on using internationalization features.

1.1.1    Front Panel

The CDE Front Panel is located at the bottom of the desktop. It provides controls (represented by icons) that start applications, and subpanels that you can use in your daily work. The Front Panel also provides a workspace switch, which you can use to move between different work areas. Chapter 3 describes the default applications available from the Front Panel and discusses how to use subpanels and workspaces.

Figure 3-1 shows the default CDE Front Panel.

Figure 1-1:  CDE Front Panel

You can customize the Front Panel by adding and removing controls from the Front Panel and subpanels, adding and removing workspaces, and renaming workspaces. If you are familiar with using desktops, you can also create a Front Panel customized configuration file. See the Common Desktop Environment: User's Guide for details on customizing the Front Panel. For information on creating configuration files, see the Common Desktop Environment: Advanced User's and System Administrator's Guide.

1.1.2    Workspaces

A workspace is the screen display area. Using CDE, you can move between different workspaces by using the workspace switch, which is numbered one through four on the Front Panel. By switching from one workspace to the next, you can set up multiple work areas. For example, one workspace can be used for managing mail, another for project management, and so on. The Front Panel is available in each workspace.

By default, there are four workspaces, but you can add, delete, or rename workspaces. See Chapter 3 for more information.

1.2    Managing the Desktop and Applications

The desktop has a File Manager, Application Manager and Style Manager. Each of these provides you with a specific control in the desktop environment. The following list introduces these controls:

See Chapter 4 for additional information on managing these applications and tools. See Chapter 5 for information about using desktop and system management applications.

1.3    Obtaining More Information

The documentation is available on line and in hardcopy. You can also obtain information about CDE from online help volumes and reference pages.

1.3.1    Books, Manuals or Guides

The documentation has three audiences: general user, programmer, and ToolTalk programmer. The CDE documentation is provided on line only and not available in hardcopy.

Table 1-1 lists the documents that are intended for the general user.

Table 1-1:  User Documentation

Manual Description
Common Desktop Environment: Advanced User's and System Administrator's Guide Describes how to perform advanced customizations of the CDE environment.
Common Desktop Environment: Desktop Korn Shell User's Guide Provides the information you need to create Motif applications with Korn Shell (kshell) scripts.
Common Desktop Environment: Product Glossary Provides a comprehensive list of terms used in CDE, and serves as a source and reference base for all users of the desktop.
Common Desktop Environment: User's  Guide Outlines basic features of CDE and explains how to use the desktop and desktop applications such as the File Manager and Application Manager.

Table 1-2 lists the documents that are aimed primarily at programmers.

Table 1-2:  Programmer's Documentation

Manual Description
Common Desktop Environment: Application Builder User's Guide Describes the Application Builder, which is an interactive tool for developing CDE applications.
Common Desktop Environment: Help  System Author's and Programmer's Guide Describes how to develop online help for application software and integrate help into an application.
Common Desktop Environment: Internationalization Programmer's Guide Discusses how to internationalize an application so that it can be localized to support various languages and cultural conventions in a consistent user interface.
Common Desktop Environment: Programmer's Guide Discusses the elements of CDE and describes how to use them.
Common Desktop Environment: Programmer's Overview Provides overview information on building new CDE applications, integrating applications into the desktop, and design issues.
Common Desktop Environment: Style  Guide and Certification Checklist Provides application design style guidelines and lists the requirements for CDE-level certification.

Table 1-3 lists the documents that are intended for ToolTalk programmers.

Table 1-3:  ToolTalk Documentation

Manual Description
Common Desktop Environment: ToolTalk Messaging Overview Describes the ToolTalk components, commands, and error messages.
Common Desktop Environment: ToolTalk Reference Manual Describes the Application Interface (API) components, commands, and error messages of the ToolTalk service.
Common Desktop Environment: ToolTalk User's Guide Describes the ToolTalk service and how to modify your application to send and receive ToolTalk messages.

1.3.2    Viewing Online Documentation with Netscape Navigator

The online documentation set is available in both Hypertext Markup Language (HTML) and Portable Document Format (PDF) versions.

To view the online documentation, follow these steps to use Netscape Navigator:

  1. Log in as root or use the su command to gain root privileges.

  2. Insert the CD-ROM in your system's CD-ROM drive.

  3. Use the following command to mount the CD-ROM on /usr/share/doclib/online if you have only one CD-ROM attached to your system,

    # mount -r -t cdfs -o rrip /dev/disk/cdrom0c /usr/share/doclib/online

    If you have more than one CD-ROM device, enter a command similar to the following to determine the CD-ROM devices connected to your system. Then, decide which CD-ROM device you want to use.

    #ls /dev/disk/cdrom*c


    /dev/disk/cdrom0c


    /dev/disk/cdrom1c

  4. Start the Netscape Navigator from the CDE desktop by using one of the following methods:

    1. Click on the arrow above the Text Editor icon on the CDE Front Panel to display the Personal Applications subpanel.

    2. Click on the Netscape icon.

    3. From a terminal emulator window, enter the following command to run Netscape Navigator in the background:

      $/usr/bin/X11/netscape &

      Refer to the netscape(1) reference page for information about options.

  5. Load the home page from the Navigator window by opening the file /usr/doc/netscape/TRU64_UNIX.html.

  6. Select the Documentation bookshelf from the list of options.

  7. Click on the Bookmarks menu, then click on the Add Bookmark option to save this bookshelf for future use.

1.3.3    Online Help

Online help provides detailed information on the CDE interface and applications.

1.3.3.1    Using the Help Manager

The Help Manager is a special help volume available from the Front Panel that lists all the online help registered on your system. To browse through registered online help, click on the Help Manager icon. To navigate within the Help Manager online help volume, click on any underlined topic and use the help menus and buttons.

The Help Manager icon has an arrow above it, indicating that a subpanel is available. To view specific help topics about the desktop and Front Panel, click on the arrow. The subpanel also includes On Item help for the Front Panel. On Item help is interactive. Clicking on this option turns the pointer into a question mark ( ? ). Position the pointer over an item in the Front Panel or a subpanel and then click to view help on that item.

1.3.3.2    Using an Application's Help Menu

To access help from within a help volume, click on the Help menu. An online help volume is divided into several sections. Table 1-4 describes the contents of an online help volume.

Table 1-4:  Contents of an Online Help Volume

Menu Item Description
Overview Explains the purpose of the application, how to start it, and how to exit from it.
Tasks Gives step-by-step examples to illustrate typical uses of the application.
Reference Describes each window, dialog box, and menu in the application; may include troubleshooting information.
On Item Turns the pointer into a question mark that you can click on any part of a window or dialog box to get help on a specific field or window area.
Using Help Explains how online help is organized and how to use it.
About Application Displays the version and copyright information for the application.

1.3.4    Reference Pages

Reference pages, often referred to as manpages, provide a synopsis and description of each command or application on the system. If the reference page subset is installed on your system, you can use one of the following tools to access reference pages:

1.3.4.1    Finding Reference Pages for Commands and Applications

If you do not know which reference page applies to a command or application, you can use keywords to help identify the appropriate reference page with either the man command with the -k flag or the apropos command.

For example, if you wanted to find reference pages related to the GIF graphics format, you could enter the following:


man -k gif 
gif2tiff (1) - create a .SM TIFF file from a GIF87 format image file
giftoppm (1) - convert a GIF file into a portable pixmap
ppmtogif (1) - convert a portable pixmap into a GIF file

The output shows any reference page with the string gif or GIF in either the title or the one-line description on the name line. The search is not case sensitive. The apropos command works the same as man -k, and the output is identical.

If you want to find the reference page for the command line that invokes the CDE Session Manager, you could enter the following:


apropos session

When you look at the output, you find the following line included:


dtsession (1)- the CDE Session Manager

You can then access the reference page for dtsession(1).

1.3.4.2    Using the man Command

To view a reference page in a terminal emulator window, enter the man command followed by the name of the command or application you want to view. For example, to view the reference page for the CDE Session Manager, enter the following:


man dtsession

Refer to the man(1) reference page for more information. See Section 1.3.4.1 for information on finding command and application names by using keywords.

1.3.4.3    Using the Man Page Viewer

The Man Page Viewer provides a graphical user interface (GUI) that allows you to view or print a reference page.

To use the Man Page Viewer to view reference pages:

  1. Click on the Application Manager.

  2. Double click on Desktop_Apps.

  3. View a reference page using one of the following methods:

See Section 1.3.4.1 for information on finding command and application names by using keywords.