ITEM: F8737L
Need help creating icon for Power Desktop.
Question:
How to I set up an icon on my Power.dt and have it start an
application?
Response:
The following is an example of how to add an application to a
Power desktop.
1. Exit the desktop by using the File --> Close this desktop option.
2. Create the file ".xdtdirinfo" in the home directory. The following
code is placed in the .xdtdirinfo file. This sample code will start
the workbench program when double clicked.
icon_rules
{
workb
{
title=My Title;
picture=selected.px;
trigger_action:s1
{
/usr/lpp/workbench/bin/workbench
}
}
}
3. The selected.px picture file is a pixmap which is found in the
/usr/include/X11/bitmaps/xdt_p_small directory (if the user is using
small pixmaps). If the user is using large pixmaps then select a
pixmap from the usr/include/X11/bitmaps/xdt_p_large directory.
4. Have the user edit the file "Power.dt". Insert the following line
right before the close bracket at the bottom of the first "dt {..."
set of code.
/home/userid/workb @G0,0;
File the change the Power.dt.
5. Have the user start xdt up using the xdt3 command.
6. The icon for the application will be in the upper left corner. The
user should move the icon to where they want it to be on the Power
desktop. From now on, the icon will appear where the user places it.
Support Line: Need help creating icon for Power Desktop. ITEM: F8737L
Dated: February 1994 Category: N/A
This HTML file was generated 99/06/24~13:30:51
Comments or suggestions?
Contact us