内に含まその他のドキュメントサポート リソース | PDF 文書ファイルをダウンロードする (1680 KB)
Chapter 6 Running Applications from the DesktopThis chapter covers several ways to run applications from the desktop. Running Applications Using Application ManagerApplication Manager is a container for the applications and other tools available on your system. Most of the applications and tools in Application Manager were placed there by your system administrator or are built into the desktop. Although configuring Application Manager is primarily a system administration task, you can also make personal customizations to Application Manager. Figure 6-1 Application Manager control
Application Manager WindowThe Application Manager window is a special File Manager view of a special folder on your system. It looks very much like a File Manager window, except that the iconic and text path are not shown. The top level of Application Manager is special because other folders and files are never created directly in it. Instead, folders in other locations are gathered into this location automatically when you log in. Contents of Application ManagerThe top level of Application Manager contains a set of application groups. Figure 6-2 Top level of Application Manager
Each application group is a folder containing one or more icons that you use to start applications. An icon that starts an application is called an action icon or application icon. Figure 6-3 Action (application) icons in the Desktop_Apps application groupSome application groups contain other useful application files such as sample data files, templates, and ``read me'' files. The application groups in your Application Manager are either built in or registered by your system administrator. Application registration is a process by which an application lets the desktop know of its presence. The application groups in Application Manager are gathered together each time you log in. The application groups may be located on your system or on other systems throughout the network. Built-In Application GroupsThe desktop provides these built-in application groups that are containers for various tools and utilities available on your system: Desktop_Apps-Desktop applications such as File Manager, Style Manager, and Calculator Desktop_Tools-Desktop administration and operating system tools such as User Registration, Reload Application, vi text editor, and Check Spelling Information-Icons representing frequently used help topics System_Admin-Tools used by system administrators Application Manager Menus and CommandsSince Application Manager is closely related to the File Manager window, it uses most of the same menus, commands, and other features. For more information about using the Application Manager menus and dialog boxes, see Chapter 5, Managing Files with File Manager . Solaris User RegistrationWith this version of Solaris, system administrators and users can now register with Sun Microsystems, establishing themselves as users of Solaris. Registering enables users to receive information about new Sun products and services. The registration process can be invoked from the CDE desktop by running the User Registration application located in the Application Manager's desktop tools folder. The following procedure describes how to run an application from Application Manager. To Run an Application from Application Manager
To Get Help on an Application IconFrom the Icon's Pop-up Menu
From the Help MenuTo Put an Application Icon in the Front Panel
To Put an Application Icon on the Workspace BackdropThis procedure copies an application icon from Application Manager to the workspace (backdrop). This makes the icon available when you don't have an Application Manager window open.
To Update Application ManagerThe contents of your Application Manager are built each time you log in. Each time it is built, it searches certain system and network locations for applications. If your system administrator adds an application to your system or to an application server while you are in a session, you must update your Application Manager if you want the new application to be registered immediately. There are two ways to update Application Manager:
To Create a Personal Application GroupA personal application group is an application group that you can alter, since you have write permission to it.
To Add Applications to a Personal Application Group
Advanced Application Manager ConceptsThis section describes several advanced Application Manager concepts:
File Names in Application ManagerIn File Manager and Application Manager, files and folders are represented as icons, and these icons are usually labeled with the file name. Action icons are sometimes an exception to this rule. In most cases you see the action icon's label instead of the action file name. Normally, you do not need to know the action file name. However, there are situations where you may see the file name. For example, if you use the Copy File dialog box to copy the icon (by selecting the file and choosing Copy to from the Selected menu), the dialog box will display the file name. Folder Location of Application ManagerApplication Manager behaves very much like File Manager. This is because Application Manager is a File Manager view of a special folder on your system used to gather registered applications. Ordinarily, you do not need to know the location of this special folder. However, its location may be useful to you if you are trying to troubleshoot problems. Login Manager creates the Application Manager folder each time you log in. Its location is: /var/dt/appconfig/appmanager/special_folder_name where special_folder_name is a name assigned by the system that is unique for your system and login name. You should never attempt to directly modify the special_folder_name folder from a command line. Creating Personal Actions and Data TypesThe desktop provides a tool that helps you create icons for running scripts, applications, and other commands. You may want to use this tool if you have a personal application your system administrator has not configured for you. For example, suppose you have your own favorite spreadsheet application that you usually start by typing a command into a terminal emulator window: FavoriteSpreadSheet -file data_file You can create an icon that runs this command so that you won't have to continue manually typing it. To do this, you must create a special desktop ``macro'' called an action. You can also create a data type for the data_files if you like. The desktop includes a tool called Create Action that makes it easy to create actions and data types. To open the Create Action window, double-click the Create Action icon in the Desktop_Tools application group. Figure 6-6 Create Action window
To see online instructions for using the window:
Registering ApplicationsWhen an application is registered in Application Manager, it has its own application group. This application group is available to all users on the system. Registering applications is an advanced task, since it requires you to be the root user. For instructions, see the Advanced User's and System Administrator's Guide. Running Applications Using File ManagerIf an application uses data files, it may be configured so that the application can be started from File Manager using any of its data files. To Run an Application from File Manager
Running and Organizing Applications Using the Front PanelThe Personal Applications subpanel is a container for applications you use frequently. ![]() Initially, it contains: Install Icon-Drop zone for adding applications to the subpanel. Text Editor-Duplicates the control in the Main Panel. Opens the desktop Text Editor. Terminal-Starts the desktop terminal emulator for entering commands manually. Web Browser-Starts the Web browser to which your PATH defaults. To Put an Application in the Personal Applications Subpanel
To Run an Application from the Personal Applications SubpanelTo run the application, click its control. If the application icon that was installed in the subpanel is a drop zone, the control is a drop zone too. You can run an application by dragging a data file from File Manager to its control. To Replace the Main Panel Personal Applications ControlInitially, the Main Panel contains the Text Editor control. You can replace the Text Editor control with the control of your choice.
Running Applications from a Terminal Emulator WindowA terminal emulator is an application whose window provides a command line. The command line lets you type commands into your system--for example, operating system commands, script names, or commands that run applications. All applications have a command that users 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 Terminal control in the Personal Applications subpanel. For more information on using dtterm, see Chapter 12, Using Terminal . To Start an Application on Your System Using a Terminal EmulatorType the command that starts the application into the terminal emulator window. If the application has its own window, you should add an ampersand character (&) to the end of the command. This runs the application ``in the background,'' which lets you continue using the terminal emulator window while the application is running. For example, the following command runs the load meter program xload in the background: /usr/bin/X11/xload & To Start an Application on Another System Using a Terminal EmulatorThere are two ways to use a command line to start an application on another system:
Using rloginWhen you use rlogin, you use your terminal emulator to log in to a different (remote) system. You then run the command to start the application on that system.
Using remshThe term remsh stands for "remote shell." It provides a one-step way to run an application, since you do not have to log in before running the command. Type the command: remsh remote_system_name -n command The command must include the -display option to send the window back to your display. For example: remsh systemA -n /usr/bin/X11/xload -display MySystem:0 |