Common Desktop Environment 1.0 Advanced User's and System
Total Page:16
File Type:pdf, Size:1020Kb
Common Desktop Environment 1.0 Advanced User’s and System Administrator’s Guide This edition of the Common Desktop Environment Advanced User’s and System Administrator’s Guide applies to AIX Version 4.2, and to all subsequent releases of these products until otherwise indicated in new releases or technical newsletters. RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the United States Government is subject to the restrictions set forth in DFARS 252.227-7013 (c)(1)(ii) and FAR 52.227-19. THIS PUBLICATION IS PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. The code and documentation for the DtComboBox and DtSpinBox widgets were contributed by Interleaf, Inc. Copyright 1993, Interleaf, Inc. Copyright 1993, 1994, 1995 Hewlett-Packard Company Copyright 1993, 1994, 1995 International Business Machines Corp. Copyright 1993, 1994, 1995 Sun Microsystems, Inc. Copyright 1993, 1994, 1995 Novell, Inc. All rights reserved. This product and related documentation are protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or related documentation may be reproduced in any form by any means without prior written authorization. All rights reserved. RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the United States Government is subject to the restrictions set forth in DFARS 252.227-7013 (c)(1)(ii) and AR 52.227-19. Chapter 1. Configuring Login Manager. 1 Starting the Login Server. 1 Managing Local and Network Displays. 2 Checking for Errors. 6 Stopping the Login Server. 6 The Login Screen. 7 Changing the Login Screen Appearance. 7 Administering Login Manager. 13 Login Manager Files. 13 Chapter 2. Configuring Session Manager. 15 What Is a Session?. 15 Starting a Session. 16 When a Session Starts. 16 Additional Session Startup Customizations. 20 Session Manager Files and Directories. 23 Chapter 3. Adding and Administering Applications 25 Structure of Application Manager. 25 Adding Applications to Application Manager. 27 Creating and Administering General Application Groups 29 Modifying the Search Path Used To Locate Applications 30 General Application Manager Administration. 31 Changing the Text Editor and Terminal Emulator. 31 Chapter 4. Registering an Application. 34 Overview of Application Registration. 34 General Steps for Registering an Application. 37 Step 1: Modifying Font and Color Resources. 37 Step 2: Creating the Desktop Application Root. 38 Step 3: Creating the Registration Package Directories. 38 Step 4: Creating the Actions and Data Types for the Application. 40 Step 5: Putting the Help Files in the Registration Package. 42 Step 6: Creating Icons for the Application. 43 Step 7: Creating the Application Group. 44 Application Group Name. 45 Step 8: Registering the Application Using dtappintegrate. 49 Example of Creating a Registration Package. 50 Chapter 5. Configuring the Desktop in a Network. 56 Overview of Desktop Networking. 56 Types of Networked Desktop Services. 56 Typical Network Situations. 57 Other Networking Situations. 58 Summary—Types of Servers. 59 Contents iii General Steps for Configuring Desktop Networking. 59 Configuring Base Operating System Networking for the Desktop. 59 Providing Login Accounts to Users. 60 Configuring Distributed File System Access. 60 Configuring Access to Remote Printers. 61 Configuring Electronic Mail. 61 Configuring X Authorization. 61 Configuring Desktop Clients and Servers. 61 Configuring Login and Session Services. 62 Configuring Other Application-Related Services. 62 Administering Application Services. 65 Search Path Environment Variables. 65 Configuring an Application Server and Its Clients. 65 Configuring Database, Icon, and Help Services. 67 Special Networked Application Configurations. 68 Chapter 6. Configuring and Administering Printing from the Desktop. 71 Adding and Deleting Printers. 71 Modifying the Job Update Interval. 72 Printer Icon Images. 72 Icon File Names and Sizes. 72 Configuring the Default Printer. 73 Printing Concepts. 73 Chapter 7. Desktop Search Paths. 75 Desktop Search Paths and Their Environment Variables 75 Setting the Value of a Search Path. 76 To See the Current Value for a Search Path (Output Variable). 76 Application Search Path. 77 Default Application Search Path. 77 Application Search Path Environment Variables. 77 Syntax for the Application Search Path Input Variables 77 How the Value of the Application Search Path Is Assembled. 78 Changing the Precedence of the System-Wide Local Location. 78 How the Application Search Path Affects the Database, Icon, and Help Search Paths. 78 Database (Action/Data Types) Search Path. 79 Default Database Search Path. 79 How the Application Search Path Affects the Database Search Path. 79 Database Search Path Environment Variables. 79 Syntax for the Database Search Path Input Variables. 79 How the Database Search Path Is Assembled. 80 Icon Search Path. 80 iv CDE Advanced User’s and System Administrator’s Guide Default Icon Search Path. 80 How the Application Search Path Affects the Icon Search Path. 80 Icon Search Path Environment Variables. 80 Syntax for the Icon Search Path Input Variables. 81 How the Icon Search Path Is Assembled. 81 Help Search Path. 81 Default Help Search Path. 81 How the Application Search Path Affects the Help Search Path. 82 Help Search Path Environment Variables. 82 Syntax for the Help Search Path Input Variables. 82 How the Help Search Path Is Assembled. 82 Localized Search Paths. 82 Chapter 8. Introduction to Actions and Data Types. 84 See Also. 84 Introduction To Actions. 84 Introduction to Data Types. 89 Chapter 9. Creating Actions and Data Types Using Create Action. 93 What Create Action Does. 93 Limitations of Create Action. 93 Creating an Action and Data Type for an Application with Create Action. 94 Chapter 10. Creating Actions Manually. 103 See Also. 103 Reasons You Must Create an Action Manually. 103 Creating an Action Manually: General Steps. 104 Precedence in Action Definitions. 109 Building the Execution String for a COMMAND Action 111 Windowing Support and Terminal Emulators for COMMAND Actions. 115 Creating Actions that Run Applications on Remote Systems. 118 Using Variables in Action and Data Type Definitions. 119 Invoking Actions from a Command Line. 120 Creating Localized Actions. 121 Creating Actions for ToolTalk Applications. 121 Chapter 11. Creating Data Types Manually. 123 See Also. 123 Reasons You Must Create a Data Type Manually. 123 Components of a Data Type Definition: Criteria and Attributes. 123 Creating a Data Type Manually: General Steps. 124 Defining the Data Attributes of a Data Type. 126 Contents v Defining the Data Criteria for a Data Type. 128 Creating Localized Data Types. 132 Chapter 12. Creating Icons for the Desktop. 134 Icon Image Files. 134 Icon Associations. 136 Icon Design Recommendations. 138 Chapter 13. Advanced Front Panel Customization. 139 See Also. 139 Front Panel Configuration Files. 139 Administering User Interface Customizations. 141 Organization of the Front Panel Definition. 141 Modifying the Main Panel. 144 Creating and Modifying Subpanels. 147 Defining Front Panel Controls. 150 Front Panel Control Definitions. 151 Customizing the Workspace Switch. 156 General Front Panel Configuration. 157 Chapter 14. Customizing the Workspace Manager. 159 See Also. 159 Workspace Manager Configuration Files. 159 Customizing Workspaces. 161 Workspace Manager Menus. 162 Customizing Button Bindings. 164 Customizing Key Bindings. 166 Switching Between Default and Custom Behavior. 167 Chapter 15. Administering Application Resources, Fonts, and Colors. 168 Setting Application Resources. 168 Defining UNIX Bindings. ..