Running Applications from the DesktopThis chapter covers several ways to run applications from the desktop.Application ManagerRunning 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.To Open Application ManagerApplication
ManageropeningstartingApplication ManagerApplication
ManagerFront Panel controlFront PanelApplication Manager controlClick the Application Manager control in the Front Panel.Application Manager controlApplication Manager WindowApplication
ManagerwindowThe 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.Top-level folder of Application ManagerApplication Managerfolders
inThe 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 Managerapplication
groupsThe top level of Application Manager contains
a set of application groups.Application
Managerapplication
groupsTop level of Application Managerapplication groupsdefinition
ofEach application group is a folder containing one
or more icons that you use to start applications.An icon that starts an application is called anaction iconapplication iconaction icon or application icon.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.
Application Managerbuilt at
loginThe 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 Groupsapplication
groupsbuilt-inThe desktop provides these built-in application groups that are containers
for various tools and utilities available on your system:Application GroupContentsDesktop_AppsDesktop applications such as File Manager,
Style Manager, and CalculatorDesktop_ToolsDesktop administration and operating
system tools such as Reload Application, vi text editor,
and Check SpellingInformationIcons representing frequently used
online documentationSystem_AdminTools used by system administratorsapplication groups <$endrange>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 .
To Run an Application
from Application Managerapplicationsrunning
from Application ManagerApplication
Managerrunning applications fromOpen Application Manager.Double-click the application group's icon to display
its contents.Double-click the application's action icon.Opening an application window from Application ManagerTo Get Help on an Application Iconhelpon
action icon[helphelpon
application iconaction iconhelp
onapplication iconhelp
onUsing the Icon's Pop-up MenuPoint to the icon and press the right mouse button to
display its pop-up menu.Choose Help from the pop-up menu.Using the Help MenuChoose On Item from the Help menu.Click the icon on which you want help.To Put an ApplicationIcon in the Front PanelFront
Paneladding applications
toapplicationsadding
to Front Paneladdingapplications
to Front PanelDisplay the application's icon in Application
Manager.Display the subpanel to which you want to add the
application.Drag the action icon from Application Manager to
the Install Icon control in the subpanel.Installing an application (action icon) in the Front PanelTo Put an Application Icon on the WorkspaceBackdropapplication
iconon 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.Open the application group containing the application
you want to add.Drag the application from Application Manager to
the workspace backdrop.To Update Application ManagerApplication
Managerupdatingreloading
applicationsapplicationsreloadingThe 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:Open the Desktop_Tools application
group and double-click Reload Applications.Or, log out and back in.To Create a Personal Application Groupapplication groupspersonalpersonal applicationgroupcreatingcreatingpersonal application groupA personal application group is an application group that you can alter,
since you have write permission to it.From your home folder, change to the
.dt/appmanager subfolder.Create a new folder.The folder name will become the name of the new application group.Double-click Reload Applications in the Desktop_Apps
application group.Your new application group will become registered at the top level of
Application Manager.To Add Applications to a Personal Application GroupCopy icons from other application
groups to the personal application group.For example, you can copy (by pressing Control and dragging) the Calculator
icon from the Desktop_Tools application group to your new personal application
group.Create an action for an application and then place
an application (action) icon in the personal application group. See .personal application groupadding applications
toaddingapplications to personal application groupAdvanced Application Manager ConceptsThis section describes several advanced Application Manager concepts:
The relationship between file
names and icon labelsThe folder location of Application ManagerCreating personal actions and data typesWhere to obtain additional information about customizing
Application ManagerFile Names in Application ManagerApplication
Managerlabels and file namesfile
namesin Application
Managerlabelsin
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.action
iconand file namesfile namesand action iconsFor example, display the pop-up menu for the action icon in the Desktop_Tools
application group labeled Digital Clock. Notice that the file name, which
is shown at the top of the pop-up menu, is not the same as the label.In most cases, you do not need to know the action file name. However,
there are other situations, in addition to the pop-up menu, 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
Managerlocation in file systemApplication 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_namewhere special_folder_name is a name
assigned by the system that is unique for your system and login name.You shouldnever attempt
to directly modify the special_folder_name
folder from a command line.Creating Personal Actions and Data Typesactionscreatingdata typescreatingapplicationsaddingaddingapplicationscreatingdata typescreatingactionsThe 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_fileYou 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 calledCreate Action 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.Create Action windowTo see online instructions for using the window:Choose Tasks from the Create Action window's
Help menu.Click the hyperlink ``To Create an Action With
Create Action.''Create Action:Creates an action for your application
Places an action icon in your home folder.You can move or copy that icon to other locations—for example,
to a personal application group that you've created.Registering Applicationsapplicationsregisteringregistering
applicationsapplicationsrunning
from File ManagerFile
Managerrunning applications fromWhen 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 ManagerDouble-click an application's
data file.For example, double-clicking a bitmap file (a file whose name ends with
.bm) runs Icon Editor.Or, select an application's
data file and choose Open from the icon's pop-up menu or from the Selected
menu.Running and Organizing Applications Using the Front PanelFront Panelrunning applications
fromapplicationsrunning from Front PanelThe Personal Applications subpanel is a container for applications you
use frequently.Initially, it contains:Install IconDrop zone for adding applications to
the subpanel.Text EditorDuplicates the control in the Main
Panel. Opens the desktop Text Editor.TerminalStarts the desktop terminal emulator
for entering commands manually.Icon EditorStarts the desktop Icon Editor for
creating and editing bitmaps and pixmaps.To Put an Application in the Personal Applications
SubpanelPersonal Applications subpanelFront Paneladding applications toOpen the application group containing the application
you want to add.applicationsadding
to Personal Applications subpanelPersonal Applications subpaneladding applications toDisplay the subpanel to which you want to add the
application.Drag the application from Application Manager to
the Install Icon control 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.Personal
Applications subpanelrunning applications fromapplicationsrunning
from Personal Applications subpanelTo Replace the Main Panel Personal Applications ControlPersonal Applications subpanelcustomizingMain Panelreplacing Personal
Applications control inPersonal
Applications subpanelreplacing the Front Panel control
ofInitially, the Main Panel contains the Text Editor
control. You can replace the Text Editor control with the control of your
choice.Add the application you want in the Main Panel
to the Personal Applications subpanel.See .
In the Personal Applications subpanel, point to
the control you want in the Main Panel and choose Copy to Main Panel from
the control's pop-up menu.Running Applications from a Terminal Emulator Windowapplicationsrunning from terminal emulatorterminal emulatorrunning
applications fromA 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 .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 rloginUsing remsh or rshUsing rloginrloginWhen 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.Use the rlogin command to
log in to the system containing the application.rlogin remote_system_nameFor example:rlogin systemAType the command to start the application. Use
the -display option to send the window back to your
display.For example, assuming your own system's display name is
MySystem:0:/usr/bin/X11/xload -label systemA -display MySystem:0Using remsh or rshremshrshThe terms remsh and rsh stand
for “remote shell.”
They provide 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
rsh remote_system_name-n commandThe 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
rsh systemA -n /usr/bin/X11/xload -display MySystem:0