This chapter introduces you to the windows and controls in CDE, and shows you how to perform tasks you will use everyday, for example, dragging an object using a mouse, re sizing a window, and the like.
For information about logging in to the desktop, refer to Chapter 2, Starting a Desktop Session.
Press and release mouse button 1 without moving the mouse.
Tasks that you perform by clicking include:
Selecting a window or icon, making it active or selected
Choosing a button in a dialog box or a control in the Front Panel
Choosing a hyperlink within a help window or mail message
Press and release mouse button 1 twice in rapid succession, without moving the mouse.
Here are some tasks you perform by double-clicking:
Starting the default action for a File Manager or workspace icon
Restoring a window icon (displaying the whole window again)
Closing a window to remove it from the workspace—double-click the Window menu button in the upper left corner of the window frame
To move a window or drop an icon, use the press-drag-release motion.
Point to the window's title bar or anywhere on the icon, press and hold mouse button 1, drag the mouse, then release the button.
Tasks you perform by dragging and dropping include:
Moving windows and icons on your screen
Moving or copying files and folders within File Manager
Dragging a slider within a scroll bar to scroll the contents of a window
Printing a file by dropping its icon on the Printer control in the Front Panel
Select the required text by holding down mouse button 1 and dragging the cursor over it.
Release mouse button 1.
Point the mouse at the location to which you wish to duplicate the text, and click mouse button 2.
By default, mouse button 2 is the middle mouse button. The text is copied to the new location without removing it from its original location.
(Optional) Repeat step 3 and duplicate the text in other locations.
CDE uses windows and other objects to represent applications, files, and services available to the user. When you log into CDE, the CDE desktop is displayed.
The CDE desktop comprises a Front Panel sitting over a selected workspace, or screen background. The Front Panel displays information about your workstation, and enables you to run applications, to log out, and to switch between workspaces. Applications that are running are represented by windows and icons on the workspace. You can also run commands from a Workspace menu, which is displayed when you click mouse button 3 on an unused part of the workspace backdrop.
The Front Panel (see Chapter 4, Using the Front Panel) is a collection of frequently used controls and desktop services available in every workspace.
Workspaces are like separate screens or desktops. You can only display one workspace at a time, but applications in all workspaces can run simultaneously.
By default, four workspaces named One through Four are available. To display another workspace, you click its button in the workspace switch in the center of the Front Panel.
You can specify whether an application is displayed on one or all workspaces by clicking mouse button 3 on its window frame and selecting an item from the pop-up menu.
When you click mouse button 3 on an unused area of a workspace, the Workspace menu (see Figure 1–1) is displayed. It includes items on the Front Panel and Application Manager. Most applications are on the Applications menu.
The Files subpanel gives you access to file-related devices and applications.
CDE provides full-functioned File Manager and File Finder applications. In File Manager and File Finder, files and folders are represented by icons that indicate their types.
Clicking on mouse button 3 displays options for the selected object, and double-clicking an object invokes the default action for that object. For example, double-clicking a compressed file expands it, and double-clicking an audio file plays it.
Task or Feature | Methods |
---|---|
To find a file | Select Find File on the Files subpanel |
To carry out an action on a file |
Click mouse button 3 on the file and choose the action from the pop-up menu Drag and drop the file on an appropriate drop zone Click a control on the Files subpanel |
To print a file | Drop a file on the printer control on the Front Panel |
To access a floppy diskette or CD-ROM | Select Open Floppy or Open CD-ROM on the Files subpanel |
CDE provides a trash can or wastebasket facility. The Trash Can is a temporary store for objects (files and folders) to be deleted. You can move selected objects to the Trash Can using drag and drop, by mapping certain menu items, or by pressing the Delete key. Once in the Trash Can, the objects no longer appear in their original folder.
To permanently remove the deleted files in CDE, you use the Empty Trash Can control on the Trash subpanel.
CDE provides the following methods of running applications:
The Front Panel and the Workspace menu provide access to collections of commonly used applications.
Where an application is not available from the Front Panel or the Workspace menu, you will probably find it in Application Manager.
You can run certain applications by dropping files or data on their drop zones in the Front Panel.
Terminal emulator windows and the File Manager application also enable you to run applications, but this requires a little more understanding of commands, files, and folders.
You can also add applications to the Front Panel, Workspace menu, and Application Manager.
The Front Panel contains a number of controls, or program icons. Some are on the main panel, which is displayed by default, and others are on subpanels, which can be displayed by clicking a tab marked by a triangle.
You run an application by clicking mouse button 1 on its control.
For instructions on running applications from the Front Panel or for adding and manipulating controls on the Front Panel, see Front Panel Applications and Customizing the Front Panel.
The Workspace menu is displayed when you press mouse button 3 on any unused part of the workspace backdrop. You can run an application by dragging to its menu item and releasing the mouse button.
You can open Application Manager by clicking its control on the Applications subpanel on the Front Panel. Application Manager contains several application groups, such as desktop tools. These groups can be opened by clicking their icons in the Application Manager main window.
To run an application in an Application Manager window, you double-click its program icon.
Certain controls on the Front Panel—such as the Printer, Mailer and Web Browser controls—act as drop zones (see Front Panel Drop Zones) that activate the relevant application when you drag and drop appropriate text or files on them. For example, if you drop a file on the Mailer control, Mailer displays a New Message window with the file attached to the new message.
For instructions on drop zones, see Front Panel Drop Zones and Tour of the Front Panel.
You can run an application by clicking its application icon in a File Manager window. For example, you can run Image Viewer by clicking the file SDTimage in the folder /var/dt/appconfig/appmanager/user-hostname-0/Desktop_Apps/ where user-hostname-0 is a folder specific to your user ID.
If an application uses data files, it may be configured so that the application can be started from File Manager by clicking one of its data files. For example, double-clicking a bitmap file (a file whose name ends with .bm) runs Icon Editor.
For instructions on running applications from File Manager see Executing an Action for a File or Folder.
A terminal emulator is an application whose window provides a command-line interface to your system—for example, operating system commands, script names, or commands that run applications.
All applications have a command that you can type to start them. The application's documentation usually describes how to use the command.
The desktop provides a terminal emulator called dtterm. Your system may include other terminal emulators. To open a terminal emulator window, click the This Host control in the Hosts subpanel.
For more information on using dtterm, see Chapter 14, Using Terminal .
This section describes how to open, close, and manipulate windows in a workspace.
A window's frame provides controls with which you can:
Focus attention on a window, making it active (indicated by its frame changing color) for input from your mouse or keyboard
Move a window
Minimize a window into an icon
Size a window
Close a window, removing it from the desktop
Display a window in other workspaces
Refer to Chapter 9, Customizing the Desktop Environment for information about settings that make windows active.
Click the Window menu button to display the Window menu.
To close a window and remove it from the desktop, double-click the Window menu button or display the Window menu and choose Close.
Click the minimize button to turn the window into a window icon. To restore a window from its icon, double-click the icon.
Click the maximize button to display the window in its largest allowable size. Return the window to its former size by clicking the maximize button again.
The title bar shows the name of the application that owns the window. Select a window by clicking its title bar. You can move a window by dragging its title bar.
Drag a window's resize corner or border to resize the window.
For information on keyboard navigation and windows, see Opening and Closing Windows in Appendix A, Keyboard Shortcuts for the Desktop.
Click the application's control in the Front Panel.
Or, from within Application Manager, double-click the application's icon.
Or, from within Application Manager, double-click the application's icon.
Or, from the Workspace Programs submenu, choose the item with the application name.
You can also select an icon in a File Manager or Application Manager window by clicking it and then choose an action for the selected icon from the Selected menu.
From the Front Panel:
Press Alt+Tab to move the keyboard focus to the Front Panel.
Press the arrow keys to move the highlight within the Front Panel and select a control.
Press Spacebar or Return to choose the control and open the application's window.
Closing an application window removes it from all workspaces. Closing an application is the same as quitting an application on other systems.
Before closing an application window, save your work. In most applications you can do this by choosing Save from the File menu.
Choose Close from the application's File menu.
Or, double-click the Window menu button (in the upper left corner of the application's window).
Press Alt+Tab to move the highlight to the window you want to close and press Alt+F4.
To save screen space, you can minimize windows into window icons. This keeps the windows easily available and programs running in them continue to run.
Click the window's minimize button.
Press Down Arrow until you select Minimize, then press Return.
Or, press N, the menu's mnemonic for Minimize.
With keyboard focus on the icon, press Alt+Spacebar to display the Window menu.
Press Down Arrow to select Restore, then press Return.
Press Alt+Spacebar to display the Window menu.
Press M, the menu's mnemonic for Move.
Press the arrow keys to relocate the window or icon.
Hold down Control while you press an arrow key to speed up the movement of the window or icon.
When you've moved the window or icon to where you want it, press Return.
To cancel the move operation, press Esc.
Place the pointer on a window's border or corner.
The pointer changes to a resize arrow.
Drag the border or corner. An outline appears to show you the window's new size.
Release the mouse button when the outline shows the window's desired size.
Press Alt+Spacebar to display the Window menu.
Press S, the menu's mnemonic for Size.
Press the arrow keys to stretch or shrink the window.
Hold down Control while you press an arrow key to size the window faster.
When the outline shows the size you want, press Return.
To cancel the resize operation, press Esc.
To bring the bottom window or icon in a workspace forward, press Alt+Up Arrow.
To place the top window in the background, press Alt+Down Arrow.
To cycle through and select the windows and icons in a workspace, press Alt+Tab or Alt+Esc.
To cycle through and select the windows and icons in reverse order, press Shift+Alt+Tab or Shift+Alt+Esc.
Copying and pasting eliminates the need to retype text.
You can copy from and paste text into:
Text fields
Terminal emulator windows
Text Editor windows
Mailer Compose windows
You can also copy text from a Mailer message view and a Help Viewer window and paste it into Text Editor, terminal emulator, and Mailer Compose windows.
Move the pointer to the start of the text to be pasted.
Drag to the end of the text to be pasted, then release the mouse button, leaving the text highlighted.
Place the text insertion cursor in the target location.
Click mouse button 2 to paste the text.
To deselect text, click in an empty area of the window that has the text selected, or press Esc.
For related information, refer to:
Workspaces are like separate screens or windows. To help organize your desktop, you can have separate workspaces for different groups of related tasks. For example, a workspace you've named Reports could contain the tools you use to prepare reports, such as a spreadsheet, desktop publisher, and graphics applications. You might set up other workspaces according to your projects.
This section describes how to display workspaces, place windows in specific workspaces, and rename workspaces.
For information about using your keyboard for desktop navigation, refer to Appendix A, Keyboard Shortcuts for the Desktop.
Click the workspace's button in the workspace switch of the Front Panel.
Press Alt+Tab until the keyboard focus, as shown by the highlight, is on the Front Panel.
Press the arrow keys to move the highlight to the button for the
workspace you want to display.
Press Return.
Click the Window menu button.
The Window menu appears.
Choose Occupy Workspace from the Window menu.
In the Workspaces list of the Occupy Workspace dialog box, select the workspaces in which you want the window to appear.
To select more than one contiguous workspace name in the list, hold down Shift while you click.
To select discontiguous workspace names in the list, hold down Control while you click.
Click a selected workspace to deselect it.
To place the window in every workspace, click the All Workspaces button.
Click OK.
To display the Window menu, press Alt+Spacebar.
Press the Down Arrow key to select Occupy Workspace, then press Return.
The Occupy Workspace dialog box appears.
Press Tab until the keyboard focus, as shown by the highlight, is in the Workspaces list.
Select the workspaces in which you want the window to appear:
Press Down Arrow or Up Arrow to move through the list.
To select more than one workspace, press Shift+Down Arrow or Shift+Up Arrow.
Press Return.
Click the Front Panel button for the workspace whose name you want to change.
That workspace is displayed.
Click the workspace's Front Panel button again.
The button becomes a text field.
Edit the workspace's name in the text field.
Once you've renamed the workspace, press Return.
Press Alt+Tab until the keyboard focus, as shown by the highlight, is on the Front Panel.
Press the arrow keys to move the highlight to the button for the workspace you want to rename.
Press Shift+F10 to display the workspace button's pop-up menu.
Press the Down Arrow key to select the Rename item, then press Return.
The button becomes a text field.
Edit the workspace's name in the text field.
Once you've renamed the workspace, press Return.
Windows and dialog boxes contain controls that help you work with applications. You use controls to manipulate objects, select choices, or type information.
This section describes various types of controls you'll come across while using the desktop. Here's a list of the most common controls:
Buttons initiate commands, start actions, or specify options and settings. Types of buttons include push buttons and radio buttons.
Scroll bars enable you to scroll through a window's contents.
Choosing a push button immediately performs the associated command or action. For example, choosing an OK button applies any changes made to a dialog box then closes it.
As a shortcut, many dialog boxes automatically give focus to the OK button so that you can quickly specify settings and then press Return to choose OK.
Click the button.
Press Tab and the arrow keys until the button has the keyboard focus, as shown by the highlight.
Press Return.
You select a check box to specify an option or setting. You can select more than one check box in a group.
You also use a radio button (sometimes referred to as a choice button) to specify an option or setting, but only one radio button in a group can be selected at a time.
Click the check box or radio button you want to select.
Press Tab and the arrow keys until the check box or radio button has the keyboard focus, as shown by the highlight.
Press the Spacebar.
Windows often contain more information than you can see at one time. Use a window's scroll bar to bring the window's contents into view.
Press the arrow keys, or Prev and Next, or Page Up and Page Down.
Hold down Control while you press an arrow key to scroll faster.
Press Tab or an arrow key to move the highlight to the slider.
Press Up Arrow or Down Arrow to move the slider.
Hold down Control while you press an arrow key to move the slider faster.
A selected list item becomes highlighted. The highlighted item is acted upon when you click a button, such as OK.
Click the list item.
In a multiple-selection list, hold down Shift while you click the items.
To deselect an item, click it again.
Click a button, such as OK.
In some lists, double-clicking an item selects the item and chooses the default command.
Press Tab to move to the list.
Select the list item:
In a single-selection list, use the arrow keys to reach your choice.
In a multiple-selection list, use the arrow keys to reach your first selection, then press Shift+Up Arrow or Shift+Down Arrow.
To deselect an item, press the Spacebar.
Press Tab to move to a button, such as OK or Apply, then press Return.
A text field accepts information you type.
Click the field to display the text insertion cursor.
Type the text.
In many dialog boxes, pressing Return completes the text entry and activates the default button, such as OK or Apply.
Press Tab, Shift+Tab, or the arrow keys until you reach the text field
.
A blinking cursor indicates that the text field has the keyboard focus.
Type the text, then press Control+Tab to move keyboard focus out of the text field.
Select the text in the field to edit:
Characters - Drag from the first character to the last character
Word - Double-click the word
Line - Triple-click the line
Multiline - Quadruple-click the field
To deselect text, click an empty area in the window.
Type the replacement text.
Press Tab, Shift+Tab, or the arrow keys until you reach the field.
Use the editing keys to edit the field's contents, then type the replacement text.
Arrow key - Move the text insertion cursor
Backspace - Delete the character to the left of the cursor
Delete or Delete char - Delete the character to the right of the cursor
Control+Delete or Control+Delete char - Delete from the cursor to the end of the line
Press Control+Tab to move keyboard focus out of the text field.
Menus provide access to commands you use to manage windows and operate software applications.
Choosing a menu item performs an associated action on the currently selected object. For example, when you select a window and choose Minimize from its Window menu, the window becomes an icon.
Menu items that appear dimmed are available only under certain conditions. For example, the Window menu's Restore item is available only when the window is an icon.
Menus you'll use on the desktop include:
Menus that you “pull down” from an application's menu bar by clicking the menu's name or typing Alt and its mnemonic. A mnemonic is an underlined character in a menu or item name.
An application's File menu is shown here.
The sequence of keys listed to the right of some items is called a shortcut key. Typing mnemonics and shortcut keys gives you quick keyboard access to menu items.
Menus that “pop up” when you click mouse button 3 (or press Shift+F10) in an application window or on a workspace object.
Use Window menu items to control windows and window icons.
This menu is displayed when you:
Click the Window menu button in the upper left corner of a window
Click a window icon
Press Alt+Spacebar with the keyboard focus on a window or window icon
Restore - Turns an icon back into a window
Move - Changes the window's location
Size - Changes the size of the window (inactive for icons)
Minimize - Turns the window into an icon
Maximize - Enlarges the window to its greatest allowable size
Lower - Moves the window to the background
Occupy Workspace - Use to select the workspaces in which you want the window to appear
Occupy All Workspaces - Displays the window in all workspaces
Close - Closes the window, removing it from the workspace
The Workspace menu is a pop-up menu that contains items for managing the workspace.
To display the Workspace menu, click mouse button 3 on the workspace backdrop. You cannot access this menu through your keyboard.
You can start many of the applications listed in the Applications submenu by clicking their Front Panel controls or Application Manager icons.
Move the pointer over the workspace backdrop.
Press mouse button 3, drag to the item, then release the mouse button.
To close the menu without choosing an item, move the pointer away from the menu and click.
You cannot choose a Workspace menu item using your keyboard.
Click the Window menu button to display the menu.
If the window is an icon, click the icon.
Click a menu item.
To close the menu without choosing an item, click anywhere other than the menu.
For faster access, you can press mouse button 1 over the Window menu button or icon, drag to the item, then release the mouse button.
Press Alt+Tab until you've placed the keyboard focus, as shown by the highlight, on the window or window icon.
Press Alt+Spacebar to display the Window menu.
Press the key for the item's mnemonic, the underlined character in the item name.
To close the menu without choosing an item, press Esc.
Display the menu:
Object's pop-up menu: Click the object with mouse button 3.
Click the item.
You can also choose a menu item by pressing the mouse button, dragging to the item, then releasing the mouse button.
To close a menu without choosing an item, move the pointer away from the menu and click.
Press Alt+Tab until you've placed the keyboard focus, as shown by the highlight, on the application window.
Display the menu by holding down Alt and then pressing the key for the menu's mnemonic (the underlined character in the menu's name as shown in the menu bar).
Press the key for the item's mnemonic.
Or, press an arrow key to move to the item, then press Return.
Press Alt+Tab until the keyboard focus is on the application window or workspace object.
Press Shift+F10 to display the pop-up menu.
Press the key for the item's mnemonic.
Or, press Down Arrow to move to the item, then press Return.
To close a menu without choosing an item, press Esc.
For more information about using your keyboard for desktop navigation, refer to Appendix A, Keyboard Shortcuts for the Desktop.
In some applications such as Mailer and Calendar, you can “tear off” a menu, which keeps it open on your desktop for repeated use. You can recognize the availability of a tear-off menu by the appearance of a dotted line at the top of the menu.
Display the menu by clicking its name in the menu bar.
Click the dotted line above the first menu item.
The tear-off menu stays on your desktop until you dismiss it by either pressing Alt+F4 or double-clicking the Window menu button (in the upper left corner of the application's window).
You can perform desktop tasks using your keyboard instead of your mouse. When you use your keyboard for desktop navigation, note the following:
In Style Manager, the Window Behavior setting must be Click In Window To Make Active (this is the default value)
For more information on the Window Behavior setting, refer to Chapter 9, Customizing the Desktop Environment.
Keyboard focus uses the highlight to show you which element of a window, menu, or control will respond to your input. To activate a selected menu item or control (such as a button), press the Spacebar.
Here's a summary of several common keyboard operations:
To move the highlight to the next window: Press Alt+Tab.
To move the keyboard highlight within a window: Press Tab and the arrow keys (up, down, left, and right).
To close a window and remove it from the workspace: Press Alt+F4.
To minimize a window (turn it into an icon): Press Alt+Spacebar, then N to choose Minimize from the Window menu.
To move a window: Press Alt+Spacebar, then M to choose Move from the Window menu. Press the arrow keys to move the window up, down, left, or right, then press Return.
Hold down Control while you press an arrow key to move the window faster.
For more information about using your keyboard for desktop navigation, refer to Appendix A, Keyboard Shortcuts for the Desktop. For information on currency symbols and characters from other languages, see Composing Special Characters. For information on displaying, manipulating and printing characters from the Thai and Hebrew Locales, see Appendix D, Locale Notes.
This section describes how to log out of and exit the desktop, and how to lock your display to prevent unauthorized use of your system when you are away from it and have not logged out.
Before logging out of the desktop, save your work in all open application windows. Remember to check each workspace.
Or, choose Log out from the Workspace menu.
You cannot display the Workspace menu using your keyboard.
As you log out of the desktop, your current session is saved. When you log back in, the desktop will appear as it did before you logged out.
Applications that do not get saved as part of the current session include:
Applications that you run in terminal emulator windows
Non-desktop applications that do not preserve their state during logout
You'll need to restart these applications when you log in. For more information, see Chapter 2, Starting a Desktop Session.
To prevent unauthorized use of your system when you are away from it and have not logged out:
To unlock your display, type your password.
For information about screen lock options, refer to Chapter 9, Customizing the Desktop Environment.
This section applies to users of English language locales only.
Characters such as £ and ¢ are not displayed on all types of keyboard. However, if you are using a code set that supports the character you require, you can use special key compose sequences to insert the required character in a document. For example, to compose the e acute symbol (é), you press the Compose key, followed by the e key, followed by the ' (apostrophe) key.
The commonly used ISO 8859-1, or “ISO Latin-1” code set provides most of the commonly used characters for Western European languages. For a table containing the Compose Key Sequences for ISO 8859-1 see Appendix C, Compose Key Sequences.
For information on displaying, manipulating and printing text from CTL (Complex Text Layout) locales such as Thai and Hebrew, see Appendix D, Locale Notes.
Established code sets such as ISO Latin-1 do not support the Euro symbol: They will not enable you to create the symbol in a document; they will not display the symbol.
To create or display the Euro symbol, you need to be running one of the following:
an ISO 8859–15 based code set such as en_US.8859–15 or en_UK.8859–15 (shipped with Solaris 7 Operating Environment and compatible versions)
A UTF-8 code set (commonly used by multilingual users) such as en_US.UTF-8 or en_GB.UTF-8.
Table 1–1 shows the placement of the Euro on Sun Type 6 keyboards:
Table 1–1 Placement of Euro on Sun Type 6 Keyboards
Type 6 Keyboards |
Euro Placement |
---|---|
US |
AltGraph+4 |
UNIX |
AltGraph-E |
UNIX/Logoless |
AltGraph-E |
French |
AltGraph-E |
Danish |
AltGraph-E |
Italian |
AltGraph-E |
Netherlands/Dutch |
AltGraph-E |
Norwegian |
AltGraph-E |
Portuguese |
AltGraph+E |
Spanish |
AltGraph-E |
Swedish |
AltGraph-E |
Finnish |
AltGraph-E |
Swiss/French |
AltGraph-E |
Swiss/German |
AltGraph-E |
UK (Ireland) |
AltGraph-E |
Two additional methods exist for typing the Euro in UTF-8 locales.
Unicode Hexadecimal code input method
To generate the Euro, type the Unicode value for this symbol: U+20AC
Table Lookup Method
Activate this method by pressing Compose, followed by Ctrl+I. Select Latin from the list of possible scripts, and choose the Euro from the table of characters.
Choosing an item from an application's Help menu
Clicking the Help button in a dialog box
Opening the Help Manager to browse all the available help
For more information on using help, refer to Chapter 3, Getting Help.
The quickest and easiest way to get help is to press the F1 key. When you press F1, the application you are using displays the help topic most closely related to your current activity.
Some keyboards have a dedicated Help key that may take the place of the F1 key.
Most applications have a Help menu for requesting specific kinds of help.
Overview - Displays introductory information about the application
Tasks - Displays instructions for using the application
Table of Contents - Displays a standard Table of Contents for the help volume
Reference - Displays summary information about application components
On Item - Changes the pointer to a question mark—click the question mark pointer on an item to display its description
Using Help - Displays information about using Help
About - Displays version and copyright information about the application (in this case, Text Editor)
To learn more about using help windows, choose Using Help from an application's Help menu. Or, you can press F1 while using a Help window.
The Help Manager lists all the online help volumes installed on your system.