Solaris Common Desktop Environment: User's Transition Guide

Chapter 1 Moving from the OpenWindows Environment to Solaris CDE

This document introduces the changes that users might expect when making the transition from the OpenWindows environment to the Solaris(TM) Common Desktop Environment (CDE). The best place to find complete information on an application or element on the desktop is in Solaris Common Desktop Environment: User's Guide and the CDE online help volumes.

Consult this guide for an overview of some of the desktop differences. You may want to scan the "Frequently Asked Questions" at the end of this document for possible answers to some of your questions.

Choosing Which Desktop to Log In To

With Solaris CDE you can choose to log in to either the OpenWindows desktop or the CDE desktop (as well as a failsafe session or your last desktop) from your login screen. For more information on logging in, refer to the Login Manager help volume or "Chapter 2, Starting a Desktop Session" in Solaris Common Desktop Environment: User's Guide.

  1. Choose Session from the Options menu on the login screen.

    You see the following choices: Common Desktop Environment, OpenWindows Desktop, OpenWindows 2 Desktop, User's Last Desktop, Failsafe Session.

    Figure 1-1 Login screen

    Graphic

  2. Select either OpenWindows Desktop or CDE.

    Once you have made your selection, you see either the OpenWindows or the CDE logo.

  3. Continue your login.

Front Panel Applications

The Front Panel is a collection of frequently used controls and desktop services available in every workspace. Controls enable you to access applications. These are some of the available applications on the Workspace Programs menu. See Solaris Common Desktop Environment: User's Guide for more information on the Front Panel.

Some Front Panel controls have subpanels associated with them. The subpanels contain frequently-used controls that are related to the Front Panel control. Click on the triangle above the Front Panel control to open its subpanel. Click on the inverted triangle to close the subpanel.

Workspaces are like separate screens or windows. You can display another workspace by clicking the workspace's button in the workspace switch of the Front Panel.

Graphic

Accessing the Workspace Programs Menu

In the OpenWindows environment, the main way to start an application was through the Workspace menu. A Workspace menu still exists in Solaris CDE; however, the main access point for workspace functionality is the Front Panel.

The applications available through the Workspace menu include the items on the Front Panel and also a subset of the applications available to you within Application Manager. Refer to Solaris Common Desktop Environment: User's Guide for complete information on the Front Panel and Application Manager.

You can access a Programs submenu from your Solaris CDE Workspace menu that contains the following items:

Graphic

Desktop Services

Some of the desktop services you are used to using in the OpenWindows environment are located in different places in Solaris CDE. The following list highlights some of the differences. The service is described first, then the OpenWindows location, and Common Desktop Environment (CDE) location.

Table 1-1 Location of Desktop Services

Desktop Service 

OpenWindows 

CDE 

Logout 

Workspace menu 

Front Panel 

LockScreen 

Utilities menu 

Front Panel 

Customize Workspace 

Workspace menu 

Style Manager 

Save Workspace 

Utilities menu 

Style Manager 

Refresh 

Utilities menu 

Front Panel 

Properties 

Workspace menu 

Style Manager 

Help 

Workspace menu 

Front Panel, Application Manager, Workspace menu 

Using Windows, Menus, Buttons, and the Mouse in CDE

Windows, menus, buttons and the mouse are used in Solaris CDE slightly differently than in the OpenWindows environment. For complete information on using window, menus, buttons and the mouse, refer to "Chapter 1, Basic Skills" in Solaris Common Desktop Environment: User's Guide.

Graphic

Examples of some of these differences are listed here. The task is described first, then OpenWindows (OW) behavior, and Common Desktop Environment (CDE) behavior.

Using Drag and Drop in CDE

Drag and drop enables you to perform a variety of tasks using the mouse. Refer to "Chapter 1, Basic Skills" in Solaris Common Desktop Environment: User's Guide for complete drag-and-drop information. In certain areas, drag-and-drop behavior is different in CDE from what you might expect from OpenWindows behavior. The following list highlights only those operations that differ between the two desktops.

The task is described first, then OpenWindows (OW) behavior, and Common Desktop Environment (CDE) behavior.

File Manager Drag and Drop

Mailer Drag and Drop

Text Editor/Mailer Compose Window Drag and Drop

Style Manager and Customizing the Workspace

The Style Manager replaces the OW Workspace Properties window. The items available through Style Manager are: Color, Font, Backdrop, Keyboard, Mouse, Audio, Screen, Window, and Startup. For complete information on Style Manager refer to Solaris Common Desktop Environment: User's Guide.

Graphic

Applications and Application Manager

Application Manager is a special File Manager view of special folders on your system. You can run your Open Windows and Motif\256 applications from Application Manager. For complete information refer to Solaris Common Desktop Environment: User's Guide.

Accessing Online Help and AnswerBook Documentation

An AnswerBook2\256 item is on the Help subpanel in Solaris CDE, and can be accessed from Application Manager. It contains documentation about the Solaris Common Desktop Environment. If you have OpenWindows software installed, the OpenWindows End-User AnswerBook documentation will also be available.

Graphic

Frequently Asked Questions

The following questions are those that users might ask when transitioning from the OpenWindows environment to Solaris CDE.

Desktop Transition Questions

Read the following questions for more information on the differences between the CDE desktop and the OpenWindows desktop. Where applicable, the documentation location that contains the information has been noted.

Q. Where do I find my OpenWindows applications?

A. A folder in Application Manager, titled OpenWindows, contains your favorite OpenWindows applications.

If you ran OpenWindows applications from the command line, you can run them the same way from the terminal emulator (Terminal application) in Solaris CDE.

Q. I know how to close and quit applications in the OpenWindows desktop. How do I do this for CDE?

A. You can make the following choices from the Window menu:

Minimize turns the window into its smallest size (usually an icon), Maximize enlarges the window to its largest possible size, (this is usually full-screen), Close closes the window and removes it from the workspace, and Exit ends or quits the current application.

See "Chapter 1, Basic Skills" in Solaris Common Desktop Environment: User's Guide for more information.

Q. In the OpenWindows environment I used the words "Properties" and "Settings" interchangeably. What are the terms in CDE and what do they mean?

A. In the OpenWindows environment, application-wide settings are set via the Properties dialog box, accessed from the Edit menu. In CDE, application-wide settings are set via the Options areas. Options choices are generally located under the application's File menu or the separate menu item, Options.

In CDE, Properties (if they exist in an application) are generally found under the application's Edit menu and are used to set characteristics of an object, such as its date or name, or display identifying characteristics of an object, such as typefaces. In CDE, format settings are usually found under the Format menu and enable margin and paragraph alignment to be set for a single paragraph, file, or message.

The File Manager Properties menu item is on the Selected menu. Use the Properties dialog box to view information about a selected file or folder or to view or revise permissions and Access Control Lists for the file or folder.

Q. What are global options and how do I set them?

A. Global options are like the properties you set from the Workspace menu in the OpenWindows environment. Set these properties from the CDE Style Manager application.

See "Chapter 7, Customizing the Desktop Environment" in Solaris Common Desktop Environment: User's Guide.

Q. In the OpenWindows environment I used the Workspace menu to access my programs and utilities. Where do I find those in Solaris CDE?

A. In Solaris CDE, the Workspace menu still exists but you can also gain access through the Application Manager and the Personal Applications subpanel in the Front Panel.

Q. Can I customize the Front Panel with the applications I use most often?

A. You can use drag and drop to copy frequently used applications from Application Manager to your Personal Applications subpanel on the Front Panel. See the "Chapter 4, Using the Front Panel" in Solaris Common Desktop Environment: User's Guide for more information.

Q. How do I change color and font attributes in CDE?

A. Use the Color dialog box in Style Manager to set colors. Use the Font dialog box in Style Manager to set the font size, type, and character group, and to add and delete font groups.

See "Chapter 7, Customizing the Desktop Environment" in Solaris Common Desktop Environment: User's Guide.

Q. How do I make changes to my keyboard in CDE?

A. If you did not change your keyboard defaults in the OpenWindows environment they should stay the same within CDE. If you want to change your defaults, use the Style Manager Keyboard dialog box. See "Chapter 7, Customizing the Desktop Environment" in Solaris Common Desktop Environment: User's Guide. If you need to make changes to your UNIX\256 keyboard bindings, refer to "Chapter 10, Using Text Editor" in Solaris Common Desktop Environment: User's Guide.

Q. How do I make changes to my mouse behavior in CDE?

A. Your mouse defaults should stay the same within CDE, but if you want to change your defaults, use the Style Manager Mouse dialog box. Some of the names have been changed for the functions: You still have double-click, acceleration, and threshold. Mouse button order is now called handedness. See the "Chapter 1, Basic Skills" in Solaris Common Desktop Environment: User's Guide.

Q. My mouse button 2 is now set to TRANSFER instead of ADJUST. What is TRANSFER and can I change this if I need to?

A. TRANSFER allows you to drag text or an icon using mouse button 2 to one area and drop it on another area. TRANSFER is the default for all CDE platforms. See "Chapter 7, Customizing the Desktop Environment" in Solaris Common Desktop Environment: User's Guide.

Q. I used the Delete key and the backspace key in the OpenWindows desktop to delete characters. How does this work in CDE?

A. Backspace deletes the previous character in the text. Delete removes the next (forward) character in the text.

Q. I modified my $HOME/.login or $HOME/.profile file to set login time environment settings in the OpenWindows environment. What file should I modify for the CDE login screen?

A. Modify your $HOME/.dtprofile file to set login time environment settings for the CDE login screen. You can instead modify your $HOME/.login file or $HOME/.profile file if you first set DTSOURCEPROFILE=true in your $HOME/.dtprofile file.

Q. How do I find the keyboard shortcuts for CDE?

A. Check the chapter on the specific application in question, and Appendix A in the Solaris Common Desktop Environment: User's Guide. If you need to make changes to your UNIX keyboard bindings, refer to "Chapter 10, Using Text Editor" in Solaris Common Desktop Environment: User's Guide.

Q. I used drag and drop a lot in the OpenWindows environment. How does it work in CDE?

A. The CDE drag-and-drop behavior is similar to the OpenWindows drag-and-drop behavior. Refer to "Using Drag and Drop in CDE" earlier in this discussion.

Q. In the OpenWindows environment you could perform the default action for a menu item by a single mouse click on the menu button. Does this work differently in CDE?

A. You use two clicks instead of one. The first click displays the menu, then you choose an item and click again.

Q. How do I permanently delete the trash from my CDE desktop?

A. Choose Select All from the Trash Can File menu, then select Shred from the File menu.

Q. How do I select more than one item?

A. Whether you are selecting multiple elements that are adjacent (contiguous selection) or are located throughout a collection (discontigious selection) use Control+mouse button 1 to select the elements. For example, use this keyboard-and-mouse combination when selecting multiple files shown in the File Managerwindow, or when selecting several messages from the Mailer Message Header List.

Q. How do I use my diskettes and CD-ROMs?

A. The CDE File Manager and Folders subpanel give you access to your diskettes and CD-ROMs.

Q. Is Snapshot the same in OpenWindows as in CDE?

A. Snapshot is integrated with Image Viewer in the CDE environment. Snapshot is a menu item on the Image Viewer File menu. You view Snapshot images using Image Viewer. Both Snapshot and Image Viewer are menu items on the CDE workspace menu.

Color Scheme Questions

The following questions relate to how you use or change colors on your desktop. See "Chapter 7, Customizing the Desktop Environment" in the Solaris Common Desktop Environment: User's Guide for information on changing color on your desktop. If you find you need further information than is provided in the documentation, check these questions first.

Q. Some of my Motif applications' color schemes look different on the CDE desktop.

Q. How does the color scheme work with OpenWindows applications?

Q. My desktop flashes in different colors when I move the cursor in and out of different windows.

A. (This answer addresses all three questions above that are related to color.) Certain applications may have colormap requirements that prevent them from using the default colormap. If this occurs, these applications will appear with incorrect colors while the rest of the desktop appears normal. Typically, giving such an application the keyboard focus causes it to appear in its correct colors but will cause the rest of the desktop to appear incorrectly. (This phenomenon is commonly referred to as colormap flashing.)

Sometimes an application appears with incorrect colors even if you give it the keyboard focus. This occurs if the application has specified a list of colormaps to be installed. Only the first colormap in this list will be installed, and anything that uses the other colormaps in the list appears with incorrect colors. For these applications, you must use special keys on the keyboard to cycle through the colormaps.

Unfortunately, there is no easy way to tell whether your application has specified a list of colormaps. The only symptom is that the window doesn't appear with its correct colors. If this occurs, you can move the keyboard focus to that window (if it isn't there already) and try these keys to see whether they affect the colormap:

Control-L2 (or Control-Again) 

Steps forward through the colormaps 

Control-L4 (or Control-Undo) 

Steps backward through the colormaps 

Doing so may end up installing the correct colormap, and it will not affect the other windows on the desktop in any way.

During startup, dtsession will set *foreground, *background and other OpenWindows global color resources so that OpenWindows applications will be in the same color scheme as Solaris CDE applications. You can still control the appearance of their applications by setting application-specific resources. Or, change the palette in Style Manager and restart the OpenWindows application.


Note -

Be sure you know what you are changing on the desktop as certain color combinations may not give you the best results. For more information see ColorUse, dynamicColor, foregroundColor, shadowPixmaps resources, and the Color Server section in the dtsession(1) or dtstyle(1) man pages located in /usr/dt/man/man1.